[ncl-talk] how to control the number to the right of decimal point in YL aix

Dennis Shea shea at ucar.edu
Wed Aug 27 07:05:47 MDT 2014


Please see:

http://www.ncl.ucar.edu/Applications/tickmarks.shtml
Example 8

I think what you want is

res at tmYLFormat = "0f"

or, maybe

res at tmYLFormat = "0@;*.2f"




On Wed, Aug 27, 2014 at 2:16 AM, wen <wenguanhuan at 163.com> wrote:

> Hi all,
>    I want to draw a xy plot in attachment. The maximum in the data is
> larger the 10 and the minimum is  about -6. Thus the number of digits in YL
> aix  is not  the same in the plot, where the maximun is 3 digits and the
> others is 2 digits. However, What I need  in YL aix is that the labels have
> one number to the right of decimal point, like this (-6.0,-3.0,-0.0,
> 3.0,6.0,12.0). The resource tmYLPrecision is able to control the digital
> numbers. However, if I set it to 3, the labels would be two numbers (like:
> 3.00) to the right of decimal point except 12.0.  How could I realize my
> aim that all the labels in YL aix have one number to the right of decimal
> point. I hope you can help. Thank you!
>
>
>
>
> --
> Best wishes
> Guanhuan Wen
>
>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20140827/2f7aa245/attachment.html 


More information about the ncl-talk mailing list