[ncl-talk] Symbol of circumference ratio

Cheung zuibeidemei at 126.com
Thu Dec 22 06:18:36 MST 2016



Dear Guido:
               Thanks so much!
Best
Cheung





At 2016-12-22 17:26:42, "Guido Cioni" <guidocioni at gmail.com> wrote:
See here http://www.ncl.ucar.edu/Applications/eqn.shtml


Something like this should work:


res at tmXBLabel = "~F33~p~F~/2"


Explanation:
~ is the symbol that tells NCL to change the font
F33 is the font table corresponding to greek letters (http://www.ncl.ucar.edu/Document/Graphics/font_tables.shtml)
p corresponds to pi into the aforementioned font table
~F switch to the normal font again


Cheers


Guido Cioni
http://guidocioni.altervista.org


On 22 Dec 2016, at 05:14, Cheung <zuibeidemei at 126.com> wrote:


  Dear NCL:

                     I need to display the symbol of circumference ratio (Pi) in the axis of a plot, say
 
                         res at tmXBLabels                 = (/" Pi/2"/)

 
                     how can I do that?

   Best
   Cheung

_______________________________________________
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/20161222/08312b3a/attachment-0001.html 


More information about the ncl-talk mailing list