The gradient, in general, is not supported by matplotlib yet.
If you're only interested in  raster format outputs (like png), I
think you can use agg_filter functionality (but you need svn version
of mpl).
Other wise, I guess your best bet is to divide you line into many
segments and color them differently.

-JJ


On Sat, Sep 26, 2009 at 10:27 PM, Gökhan Sever <[email protected]> wrote:
> Hello,
>
> Is it possible use a gradient color say from blue to red and/or specifying
> certain color threshold  for a line plot (i.e I have air temperature plotted
> and I want to segment the color of the plot for temp > 0C red, and below 0
> make it blue.) Would be much nicer with gradient however I am content for
> the second option as well :)
>
> Thanks.
>
> --
> Gökhan
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to