I’m plotting different series (from the columns in a 2D Array) and I would like to set the color of each series according to a parameter. In the example, I would like to set the color of the line at the bottom to the black and the line at the top to be yellow.
plot(collect(1:10), [i*j for i in 1:10, j in 1:10], zcolor = collect(1:10),
m = :o, ms = 10,
label = transpose(collect(1:10)))
I tried using the zcolor
keyword but I think I;m not using it correctly…
Does anyone know how I can obtain this behavior? Do I need to use PlotRecipes
or something similar?
Thanks for your help