Re: questions about superscripts and Greek characters

From: Yi Wang <yiwang6_at_nyahnyahspammersnyahnyah>
Date: Fri May 20 2011 - 13:46:18 MDT

Dear Will,

Thanks a lot, I tried your suggestion, i.e. I used res@gsnRightString =
"units: " + "Wm~S~-2~N~sr~S~-1~N~" + "~F8~m~N~" + "m~S~-1~N~",
but I still got Wm-2sr-1 µµ -1
and what I want is Wm-2sr-1 µm-1

It really drive me crazy. I just do not know why it always give me µµ not µm.
Any more good ideas? Thanks a lot.

Best,
Yi

On Fri, May 20, 2011 at 2:12 PM, Hobbs, Will R (3244-CalTech) <
William.R.Hobbs@jpl.nasa.gov> wrote:

> Yi
>
> You had an 'N' where you should have had a 'tilda' for the punultimate
> string: following should work"
>
> 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 Talk" <ncl-talk@ucar.edu>, Mary Haley <
> haley@ucar.edu>, Adam Phillips <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 = "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:46:30 2011

This archive was generated by hypermail 2.1.8 : Wed May 25 2011 - 09:35:33 MDT