[ncl-talk] greek symbols in ncl plot for axis string
Alan Brammer
abrammer at albany.edu
Wed Jun 10 15:09:28 MDT 2015
label_string = "~F33~D~F~T~F34~0~F~C"
Assuming you have changed TextFuncCode to a ~ in your .hluresfile.
Otherwise change all the ~ to :
1. Change the font to the Greek symbols (table 33) use character d for a
small delta.
2. Change back to default for a regular T
3. Change to font table 34 for a degree symbol.
4. Change back to default for regular C.
begin
res = True
res at tiXAxisString = "~F33~D~F~T~F34~0~F~C"
wks = gsn_open_wks("x11","")
plot = gsn_csm_blank_plot(wks, res)
draw(plot)
frame(wks)
end
Good luck,
Alan.
On 10 June 2015 at 17:00, Ashish Sharma <asharma7 at nd.edu> wrote:
> HI Users,
>
> How do we use greek symbols in title or X/Y axis strings? Eg. Delta
> (symbol) T (C) for y-axis.
> I looked at Equations in NCL. But, I am not able to interpret it.
>
> thanks,
> Ashish
> _______________________________________________
> 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/20150610/a5b1716c/attachment.html
More information about the ncl-talk
mailing list