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  
B&W 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:

>
> 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: 
> http://www.nabble.com/variable-line-color-in-plots-tp25894279p25894279.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to