Re: format of the coordinate

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 16 2011 - 22:46:54 MDT

Also, example 8 on the tickmark page that Adam pointed to explicitly
shows the many ways to set Format resources.

--Mary

On Mar 16, 2011, at 2:28 PM, Adam Phillips wrote:

> Hi Yonghui,
> There's a few different ways to do it.
> The easiest:
> res@tmXBFormat = "f"
> This essentially tells NCL to not draw any unnecessary 0's.
>
> You can also set tmXBPrecision = 1, or explicitly set the XBLabels by
> setting tmXBMode = "Explicit". Both of these methods are detailed on
> the
> website here:
> http://www.ncl.ucar.edu/Applications/tickmarks.shtml
> See examples 2 and 4..
> Hope that helps!
> Adam
>
> On 03/16/2011 12:05 PM, Yonghui Wu wrote:
>> Dear All,
>>
>> I made a statistical plot using NCL. However I'm not satisfied with
>> the
>> format of the coordinate. The x-coordinate is actually the forecast
>> time
>> from 0 to 6 forecast hours. I want it to be
>> 0 1 2 3 4 5 6
>> instead of
>> 0.0 1.0 2.0 3.0 4.0 5.0 6.0
>> to make the plot more clear. Is there any format choices in NCL?
>> Thank
>> you in advance for your kind help.
>>
>> P.S.: attach is the plot I made.
>>
>> Yonghui
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> __________________________________________________
> Adam Phillips
> asphilli@ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> Climate and Global Dynamics Division fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 16 22:47:08 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 16:15:59 MDT