[ncl-talk] How to plot tiYAxisString in two line

Karin Meier-Fleischer meier-fleischer at dkrz.de
Mon Feb 20 08:36:21 MST 2017


Hi Xiaobin,

try using the function code ~C~ in you y-title label:

   res at tiYAxisString  = "Y Values~C~2nd line"     ;-- Y axis title

See also
http://www.ncl.ucar.edu/Document/Graphics/function_code.shtml

Bye,
Karin

Am 20.02.17 um 16:15 schrieb qiuxiaobin.tj:
> Dear All
>
> My y label is two long. I hope to plot it in two line in the pic. How 
> to add a \n in the string.
> Thanks.
>
> Best,
> Xiaobin
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170220/a091cd31/attachment.html 


More information about the ncl-talk mailing list