[ncl-talk] y-axis with one decimal (e.g. 0.20 --> 0.2)

Xi Chang xi.chang01 at gmail.com
Mon Mar 12 16:36:47 MDT 2018


Thanks, Adam

After setting "f" it becomes ".2" instead of "0.2"
Is there any a way to include the zero in front of the dot. Its a mandatory
from the journal.
Thank you

Chang

On Mon, Mar 12, 2018 at 5:32 PM, Adam Phillips <asphilli at ucar.edu> wrote:

> 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 <(303)%20497-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/e65ffbd6/attachment.html>


More information about the ncl-talk mailing list