[ncl-talk] math symbols in title strings
Alan Brammer
abrammer at albany.edu
Wed Nov 4 07:24:10 MST 2015
Chances are your text function code <https://www.ncl.ucar.edu/Document/Graphics/function_code.shtml> is ~
Which you’ve used through most of the string. To change font you also use the same character.
I assume the edit you want is below. The extra ~F~ is to change the font back to default. Otherwise you’ll stay in greek characters which will be weird.
res at tiYAxisString = "Variance [10 ~F34~W~F~ log~B~10~N~ m~S~2~N~/Hz]"
Alan Brammer.
> On 4 Nov 2015, at 09:07, David Craig <dcdavemail at gmail.com> wrote:
>
> Hi,
> How do I use math symbols in a title string? I have tried the code below
> but with no luck.
>
> res at tiYAxisString = "Variance [10 :F34:W log~B~10~N~ m~S~2~N~/Hz]"
>
> thanks
> David
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151104/05e68f42/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsnapp.png
Type: image/png
Size: 13946 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151104/05e68f42/attachment.png
More information about the ncl-talk
mailing list