reduce tickmark length
This commit is contained in:
parent
4e5b490b6c
commit
458d72b36b
@ -765,11 +765,11 @@ function axis_drawing_info(sp, letter)
|
|||||||
ax_length = letter === :x ? height(sp.plotarea).value : width(sp.plotarea).value
|
ax_length = letter === :x ? height(sp.plotarea).value : width(sp.plotarea).value
|
||||||
|
|
||||||
# add major grid segments
|
# add major grid segments
|
||||||
add_major_or_minor_segments(ticks[1], ax[:grid], grid_segments, 1.6 / ax_length, ax[:tick_direction] !== :none)
|
add_major_or_minor_segments(ticks[1], ax[:grid], grid_segments, 1.2 / ax_length, ax[:tick_direction] !== :none)
|
||||||
|
|
||||||
# add minor grid segments
|
# add minor grid segments
|
||||||
if ax[:minorticks] ∉ (:none, nothing, false) || ax[:minorgrid]
|
if ax[:minorticks] ∉ (:none, nothing, false) || ax[:minorgrid]
|
||||||
add_major_or_minor_segments(minor_ticks, ax[:minorgrid], minorgrid_segments, 1 / ax_length, true)
|
add_major_or_minor_segments(minor_ticks, ax[:minorgrid], minorgrid_segments, 0.6 / ax_length, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user