Winston.jl
Winston.jl copied to clipboard
Grid is drawn over lines and legend
I would like to use the grid option when plotting, but when I set 'draw_grid=true' the grid is drawn over the lines and the legend. Is there an option to change that behaviour ? You can find an example code below:
p = FramedPlot()
setattr(p.frame1, draw_grid=true)
a = Curve([1:1:100],[1:1:100].^2.1, color="blue", linewidth = 20)
b = Curve([1:1:100],[1:1:100].^2.2, color="red", linewidth = 20)
c = Curve([1:1:100],[1:1:100].^2.3, color="green", linewidth = 20)
setattr(a, label = "Curve a")
setattr(b, label = "Curve b")
setattr(c, label = "Curve c")
add(p, a)
add(p, b)
add(p, c)
l = Legend(.2,.9,{a,b,c}) add(p,l)