Re: Superscript subscript

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 14 2013 - 10:13:13 MDT

Hi Marston,
Try adding a ~ after the N:
lonavg@long_name = "0.25~S~o~N~ grid"
If that doesn't work let ncl-talk know..
Adam

On 08/14/2013 10:11 AM, Marston Johnston wrote:
> Hi,
>
> I've been trying to get superscript and subscript to work in NCL v
> 6.1.2 but to no avail. I've been following the instructions given at:
>
> http://www.ncl.ucar.edu/Document/Graphics/function_code.shtml
>
> I'm trying to plot some data and include in the long_name attribute a
> superscript
> with the following format:
>
> lonavg@long_name = "0.25~S~o~N grid"
>
> I checked my .hluresfile and made sure that *TextFuncCode :~ is what
> was set.
> But still I get the error:
>
> PLCHHQ - CHARACTER NUMBER 16 (g) IS NOT A LEGAL FUNCTION CODE
> PLCHHQ - CHARACTER NUMBER 17 (r) IS NOT A LEGAL FUNCTION CODE
> PLCHHQ - CHARACTER NUMBER 18 (i) IS NOT A LEGAL FUNCTION CODE
> ...
>
> Just to be complete, I tested: lonavg@long_name = "0.25:S:o:N grid"
> which did not return an error but didn't work.
>
> Would appreciate any help with this,
> /M
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 14 10:13:20 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 14 2013 - 18:35:09 MDT