Yi
You had an 'N' where you should have had a 'tilda' for the punultimate string: following should work"
res@gsnRightString<mailto:res@gsnRightString> = "units: " + "Wm~S~-2~N~sr~S~-1~N~" + "~F8~m~N~" + "m~S~-1~N~"
It's tough to track down this sort of stuff with a very large string like this, so if I have a problem I usually just try and debug each 'substring' individually.
Will
Date: Fri, 20 May 2011 12:03:38 -0700
To: "ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu> Talk" <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>, Mary Haley <haley@ucar.edu<mailto:haley@ucar.edu>>, Adam Phillips <asphilli@ucar.edu<mailto:asphilli@ucar.edu>>
Subject: questions about superscripts and Greek characters
Dear NCL experts,
I want to generate a plot with the units (see correct.png in the attachment). But I got the wrong one (see wrong.png in the attachment).
I saw your function code and equations pages on how to do subscripts, superscripts, and greek characters:
http://www.ncl.ucar.edu/Applications/fcodes.shtml
http://www.ncl.ucar.edu/Applications/eqn.shtml
However, I still do not know where came the problem. Could you please help me to see the following codes?
res@gsnRightString<mailto:res@gsnRightString> = "units: " + "Wm~S~-2~N~sr~S~-1~N~" + "~F8~m~NN" + "~m~S~-1~N~"
Thanks a lot.
Best,
Yi
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 20 13:12:42 2011
This archive was generated by hypermail 2.1.8 : Wed May 25 2011 - 09:35:33 MDT