[ncl-talk] Printing the +- sign on a plot in NCL
Ehsan Taghizadeh
ehsantaghizadeh at yahoo.com
Mon Sep 1 14:13:02 MDT 2025
Hello Dr. Tabish,
I came across a few lines from the eqn_3.ncl example on the NCL Applications page (https://www.ncl.ucar.edu/Applications/eqn.shtml) that demonstrate how to plot a - over +.I thought you might find it relevant or useful.
txres = True
txres at txFuncCode = ":"
gsn_text_ndc(wks,":F34:t",.6,.8,txres)
----------------------------------------------------------------------------- Best regards,Ehsan Taghizadeh
On Monday, September 1, 2025 at 10:04:13 AM PDT, Tabish Ansari via ncl-talk <ncl-talk at mailman.ucar.edu> wrote:
Dear NCL folks,
I'm posting here after a long time, partly because I've gotten better at using NCL over the years and partly because nowadays the AI LLMs are able to answer most of my queries on NCL and solve the errors. However, I finally have a question at which all the LLMs failed: How do I print the +- sign (+ on top of -) in an NCL plot? What's the appropriate function code to use inside the string?
Thank you very much in advance!
best regards,
Tabish
--------------------------------------------------------------------------------------
Dr Tabish AnsariResearch Associate Air Quality Modelling GroupResearch Institute for Sustainability (RIFS) - Helmholtz Centre Potsdam Potsdam, Germany_______________________________________________
ncl-talk mailing list
ncl-talk at mailman.ucar.edu
List instructions, subscriber options, unsubscribe:
https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20250901/ee638bb2/attachment.htm>
More information about the ncl-talk
mailing list