[ncl-talk] Symbol of circumference ratio
Guido Cioni
guidocioni at gmail.com
Thu Dec 22 02:26:42 MST 2016
See here http://www.ncl.ucar.edu/Applications/eqn.shtml <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 <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 <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/4e42f168/attachment.html
More information about the ncl-talk
mailing list