Simple text style question

Gökhan Sever wrote:

    Gökhan Sever wrote:


        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?


        -- Gökhan


    ylabel('measurement 1',color='r')
    ylabel('measurement 2',color='b')


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: 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}). -



On Mon, Jan 11, 2010 at 6:51 AM, Jeff Whitaker <jswhit@…146… > <mailto:jswhit@…146…>> wrote:

Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web :