Gökhan Sever wrote:
>
>
> On Mon, Jan 11, 2010 at 6:51 AM, Jeff Whitaker <[email protected]
> <mailto:[email protected]>> wrote:
>
> Gökhan Sever wrote:
>
> Hello,
>
> Is there a way to color words differently in a label or title,
> for example:
>
> ylabel("measurement 1 (in red color)" , "measurement 2 (in
> blue color)") to match with the plotted line colors?
>
> Thanks.
>
> --
> Gökhan
>
> Gökhan:
>
> ylabel('measurement 1',color='r')
> ylabel('measurement 2',color='b')
>
>
> -Jeff
>
>
> In this fashion the second call replaces the first text. What I want
> is two words next to each other and in different colors.
>
> --
> Gökhan
Gökhan: Then I think you'll have to go with the TeX solution (i..e
\color{red}{Red text goes here} \color{blue}{Blue text goes here}). -
Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : [email protected]
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users