[ncl-talk] using different colors in one tiYAxisString?

Adam Phillips asphilli at ucar.edu
Wed Jun 8 11:50:56 MDT 2016


Hi Xiaoming,
In short, no. You could call gsn_create_text or gsn_add_text and attach
strings in different colors, but it would be a bit of work. See numerous
examples on the text page here on how to use the gsn*text functions:
http://www.ncl.ucar.edu/Applications/text.shtml
Alternatively you can use Adobe Illustrator or some other external program
to edit the letter colors.
Adam

On Wed, Jun 8, 2016 at 11:03 AM, xiaoming Hu <yuanfangcan at hotmail.com>
wrote:

> Hello
>
> I would like to use different colors in one tiYAxisString?
> For example  in this figure
>
> http://www.caps.ou.edu/micronet/temp/Jose/Kerri/BoxArctic_xhu_Jun7_deleteCH3COCH3_update_O1D_O3P_HO2/TS_species_Box_withhalogen.png
> use blue for H2O2 and use green for HCHO in the YAxis string.
>
> Is there anyway to do this?
>
> Thanks a lot!
> Xiaoming
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160608/ce9ca8aa/attachment.html 


More information about the ncl-talk mailing list