[ncl-talk] tmYLFormat deleting trailing zero for a panel plot

Mary Haley haley at ucar.edu
Fri Jun 17 08:15:59 MDT 2016


This is not a panel plot issue per se.  When you create the individual
plots is when you need to fix the labels the way you want them.

Did you see example tm_8.ncl at:

http://www.ncl.ucar.edu/Applications/tickmarks.shtml#ex8

This shows the different formats you can use.  I would try "0f".

--Mary



On Wed, Jun 15, 2016 at 11:13 PM, Lijun Diao <ljdiao at gmail.com> wrote:

> Hi, all:
>
> I have a panel plot and try to set the number format of the y-axes . I
> attached two axes from two subplots. For the left one, minimum value zero
> is outputed as “0.0”, while for the right one “0”. I set them use the same
> tmYLFormat = "@f". So my question is how can I set the starting number of
> the first axis also to be “0”. By the way, I need “0.7” not “.7”
>
> thanks,
>
>
>
> -----------------------------------------------------------------------------
> Lijun Diao
> ldiao at uh.edu
> Research Assistant
> Department of Earth & Atmospheric Sciences
> University of Houston
> 4800 Calhoun RD., Bldg. S&R1-312
> Houston, TX 77204-5007
>
> _______________________________________________
> 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/20160617/836620d1/attachment.html 


More information about the ncl-talk mailing list