[ncl-talk] y-axis with one decimal (e.g. 0.20 --> 0.2)
Adam Phillips
asphilli at ucar.edu
Mon Mar 12 16:32:36 MDT 2018
Hi Chang,
See example #8 here:
http://www.ncl.ucar.edu/Applications/tickmarks.shtml#ex8
Try setting:
res_ts at tmYLFormat = "f"
Hope that helps!
Adam
On Mon, Mar 12, 2018 at 4:28 PM, Xi Chang <xi.chang01 at gmail.com> wrote:
> Dear NCL,
>
> How to force the Y axis with one decimal instead of two, e,g.. 0.20 --> 0.2
> I set the following resource but it did not work, I still get 0.20 in the
> Y axis.
>
> res_ts at tmYLFormat = "#f"
>
> Chang
>
> _______________________________________________
> 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/20180312/d22f040c/attachment.html>
More information about the ncl-talk
mailing list