Hi there!
I am plotting two sets of lines in the same axis. I would like each line on a set to have the same style (line color, style, width, etc…) to the corresponding line in the other set. Currently, the style cycles continuously, so each line is unique.
How can I do something like:
plot one set
reset cycle
plot other set
?
Currently I have:
x = 1:10
m1 = 5.0
m2 = -5.0
fig = Figure()
firstaxis = Axis(fig[1,1])
#First set
for i in 1:8
lines!(firstaxis,x, (m1 + 3*rand()) .* x)
end
#Second set
for i in 1:8
lines!(firstaxis,x, (m2 + 3*rand()) .* x)
end
fig
Which gives the result: