[ncl-talk] Trying to add a greek character
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Tue Nov 5 04:39:18 MST 2024
Hi Barry,
just use the labelbar resource @lbTitleString:
pnlres at lbTitleString = "~F33~D~F21~" + " Liquid Water (g m~S~-3~N~)"
Regards,
Karin
Am 05.11.24 um 10:44 schrieb Barry Lynn via ncl-talk:
> Hello:
>
> I have spent the last hour or so plus trying to decipher the manual,
> which is often very well documented.
>
> I can't find how to add "Delta" to my text that appears below my bar
> graph.
>
> txres = True
>
> delta_var_name = gsn_text_ndc(wks,":F8:d",.2,.6,txres) + " Liquid
> Water (g m~S~-3~N~)"
>
> pnlres at lbTitleString= delta_var_name
>
>
> This gives me an error, and this also gives me an error.
>
>
> fatal:syntax error: line 376 in file ./diff_vert_aligned_liquid.ncl
> before or near :
>
> delta = "gsn_text_ndc(wks,":
>
> -------------------------------^
>
>
> I need to present the "Delta" in front of the text "Liquid Water..."
>
> Thank you.
> --
>
> Barry H. Lynn, Ph.D
> Senior Scientist, Lecturer,
> The Institute of Earth Sciences,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> Weather It Is, LTD
> Weather and Climate Focus
> https://weather-it-is.com <http://weather-it-is.com>
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Dipl. Geophys. Karin Meier-Fleischer
Visualization Group - Python, CDO, NCL
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D-20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail:meier-fleischer at dkrz.de
URL:www.dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20241105/0cb98cdf/attachment.htm>
More information about the ncl-talk
mailing list