Re: Display degree Celcius in title

From: Wang Jun <daxiawj_at_nyahnyahspammersnyahnyah>
Date: Thu, 10 Jul 2008 20:02:13 +0800

That's great! Thanks very much!

on 2008-07-10 01:28 -0600,Fred Clare Wrote:

> This type of thing can be done but is usually a bit complicated.
>
> A simple example of plotting a degree symbol using superscripting
> is at:
>
> http://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl
>
> If you want more precise control of where the degree symbol is
> placed, and the spacing, here is an example:
>
> load "$NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl"
> begin
> wks = gsn_open_wks("ps","deg")
> ;
> ; NCL characters are digitized on a grid 21 units high and
> ; 16 units wide by defualt.
> ;
> ; Explanation of the function codes for the following call to
> ; plot a celsius temperature is:
> ;
> ; :F22: - Select font 22 (Helvetica bold), then plot "25"
> ; :IV7:o - Select indexical size, move 7 digitized font
> units
> ; up and plot an "o" (degree symbol).
> ; :PV-7H-4: - Select principal size, move down 7 units and left
> ; 4 units and plot " C"
> ;
> resources = True
> resources_at_gsnFrame = False
> resources_at_txFontHeightF = 0.1
> gsn_text_ndc(wks,":F22:25:IV7:o:PV-7H-4: C", 0.5, 0.5, resources)
> frame(wks)
> end
>
> For examples of producing equations see:
>
> http://www.ncl.ucar.edu/Applications/eqn.shtml
>
> For details on function codes see:
>
> http://ncarg.ucar.edu/supplements/plotchar/#PLCHHQFunctionCodes
>
> Fred Clare
>
>
>
> >
> > Regards,
> > Wang Jun
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk_at_ucar.edu
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 10 2008 - 06:02:13 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 11:22:42 MDT