So I have a vector x and a matrix M.

The vector x consists of the points on the x axis and the columns of M are 
the respective y-cords for each line.

I'm currently plotting all the lines using layers:

layers = Layer[]
for i=1:10
   push!(layers, layer(x=x, y=M[:,i], Geom.line)[1])
end

plot(layers)

This gives me essentially what I want except all the lines are same colour. 
What's the best way for Gadfly to uniquely colour each line?

Also if the above layering approach isn't the best way to do what I'm 
trying to do please let me know.

Thanks.

Reply via email to