offset update
This commit is contained in:
parent
7cc0f8bf7a
commit
b9946f6169
@ -1617,8 +1617,8 @@ function gr_label_ticks_3d(sp, letter, ticks)
|
|||||||
ft = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? famax : famin
|
ft = sp[:framestyle] == :origin ? 0 : ax[:mirror] ? famax : famin
|
||||||
|
|
||||||
out_factor = ifelse(ax[:tick_direction] === :out, 1.5, 1)
|
out_factor = ifelse(ax[:tick_direction] === :out, 1.5, 1)
|
||||||
x_base_offset = isz ? -1.5e-2 * out_factor : isy ? 1.5e-2 * out_factor : 0
|
x_base_offset = isz ? -1.5e-2 * out_factor : isy ? 1e-2 * out_factor : 0
|
||||||
y_base_offset = isz ? 0 : isy ? -1.5e-2 * out_factor : -8e-3 * out_factor
|
y_base_offset = isz ? 0 : isy ? -1e-2 * out_factor : -8e-3 * out_factor
|
||||||
|
|
||||||
rot = ax[:rotation] % 360
|
rot = ax[:rotation] % 360
|
||||||
sgn = ax[:mirror] ? -1 : 1
|
sgn = ax[:mirror] ? -1 : 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user