[Matplotlib-users] variable line color in plots

2009-10-14 Thread Devin Silvia
Does anyone know if its possible to vary the line color according to some pre-defined array in a standard line plot (either linear or loglog)? As an example, I would like to color the line so that it indicates progression of time. -- View this message in context:

Re: [Matplotlib-users] variable line color in plots

2009-10-14 Thread Chloe Lewis
I use a scatterplot with enough points to overlap into a line. Works best with alpha=0.5 or thereabouts; I generally overplot with a dashed BW line to make the legend understandable. Probability that there is a more elegant way: high. C On Oct 14, 2009, at 9:23 AM, Devin Silvia wrote: