[ncl-talk] Possible bug with XT tickmark labels

Adam Phillips asphilli at ucar.edu
Wed Mar 29 11:17:43 MDT 2017


Hi Dan,
Thanks for sending an easy-to-run script. I think you need to set
tmXTLabelsOn = True for the XT tick mark labels to appear. (By default
tmXTLabelsOn = False.)
Adam

On Wed, Mar 29, 2017 at 11:01 AM, Daniel Adriaansen - NCAR <
dadriaan at ucar.edu> wrote:

> Hello,
>
> I am attempting to explicitly label the top X-axis tickmarks when using
> gsn_csm_xy(). I am successful placing ticks in the correct location
> matching the tmXTValues resource, but cannot get labels to show up using
> the tmXTLabels resource. Note that even when setting tmXUseBottom to
> "False", NCL will still not draw XT tickmark labels even when tmXTMode is
> not set to "Explicit" (i.e. just let NCL label them the way it would by
> default).
>
> I have attached a sample script and PNG file illustrating the results.
> Details:
> 1. The version of NCL you are running (ncl -V):
> /usr/local/ncl_ncarg-6.4.0/bin/ncl -V
> 6.4.0
> 2. The shortest NCL script possible that illustrates the bug:
> Attached as file "testXTLabels.ncl"
> 3. Any data files needed to run your script:
> n/a
> 4. A graphic (PNG, PS, or PDF file) that illustrates the problem:
> Attached as file "testXTLabels.png"
> 5. The exact error message (if any):
> n/a
> 6. The type of system you're on ("uname -a", "gcc --version", what
> flavor/version of Linux/MacOS, etc:
> Linux cessna 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
> x86_64 GNU/Linux
>
> Thank you in advance for any help!
>
> -Dan
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170329/bafd0743/attachment.html 


More information about the ncl-talk mailing list