remove excess
This commit is contained in:
parent
360b3bb872
commit
dae7b3cedc
@ -1625,16 +1625,8 @@ function gr_label_ticks_3d(sp, letter, ticks)
|
|||||||
nt = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? n1 : n0
|
nt = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? n1 : n0
|
||||||
ft = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? famax : famin
|
ft = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? famax : famin
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rot = mod(ax[:rotation], 360)
|
rot = mod(ax[:rotation], 360)
|
||||||
sgn = ax[:mirror] ? -1 : 1
|
sgn = ax[:mirror] ? -1 : 1
|
||||||
sgn2 = iseven(floor(rot / 90)) ? -1 : 1
|
|
||||||
sgn3 = if isz
|
|
||||||
-360 < rot < -180 || 0 < rot < 180 ? 1 : -1
|
|
||||||
else
|
|
||||||
rot < -270 || -90 < rot < 90 || rot > 270 ? 1 : -1
|
|
||||||
end
|
|
||||||
|
|
||||||
cvs, dvs = ticks
|
cvs, dvs = ticks
|
||||||
ax[:flip] && reverse!(cvs)
|
ax[:flip] && reverse!(cvs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user