For any text string that is part of an NCL graphic, you can use the function code "~S~" to do superscripts.
So, for example, if you want m^3 in your main title:
res@tiMainString = "some text, m~S~3"
The "~" is a special character that signals to NCL that you are about to give it a function code. "~S~" means superscript, and "~B~" means subscript.
The default special character is a colon ":", but since Dennis told you to download the ".hluresfile", and this file changes the default to a "~", then you need to use the "~".
Please see this page for more examples of function codes:
http://www.ncl.ucar.edu/Applications/fcodes.shtml
--Mary
On Sep 7, 2011, at 12:43 AM, cnl88 wrote:
> Dear Sir or madam:
> How I can change the from m3 to m3 that is the cubic of m;how i write the command .Thank you!
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 7 08:48:05 2011
This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT