Re: questions about superscripts and Greek characters

From: Hobbs, Will R (3244-CalTech) <William.R.Hobbs_at_nyahnyahspammersnyahnyah>
Date: Fri May 20 2011 - 13:12:19 MDT


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.


Date: Fri, 20 May 2011 12:03:38 -0700
To: "<> Talk" <<>>, Mary Haley <<>>, Adam Phillips <<>>
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:

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.


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
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