Gaston: add support for major/minor grids
This commit is contained in:
parent
36a9e3b386
commit
1889f5b7f9
@ -322,6 +322,11 @@ function gaston_parse_axes_args(plt::Plot{GastonBackend}, sp::Subplot{GastonBack
|
|||||||
gaston_set_ticks!(axesconf, minor_ticks, letter, "m", "add")
|
gaston_set_ticks!(axesconf, minor_ticks, letter, "m", "add")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if axis[:grid]
|
||||||
|
push!(axesconf, "set grid $(letter)tics")
|
||||||
|
axis[:minorgrid] && push!(axesconf, "set grid m$(letter)tics")
|
||||||
|
end
|
||||||
|
|
||||||
ratio = get_aspect_ratio(sp)
|
ratio = get_aspect_ratio(sp)
|
||||||
if ratio != :none
|
if ratio != :none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user