Gaston: add support for major/minor grids
This commit is contained in:
parent
36a9e3b386
commit
1889f5b7f9
@ -323,6 +323,11 @@ function gaston_parse_axes_args(plt::Plot{GastonBackend}, sp::Subplot{GastonBack
|
|||||||
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
|
||||||
ratio == :equal && (ratio = -1)
|
ratio == :equal && (ratio = -1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user