Re: how to change tickmarks

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 05 2012 - 09:54:55 MST

Hi JinQ,
Please see example #2 here:
http://www.ncl.ucar.edu/Applications/tickmarks.shtml#ex2

Specifically, refer to the coding of the how the bottom panel is created:

   res@tmXBValues = (/1950,1960,1970,1980,1990,2000,2005/)
   res@tmXBLabels = (/"1950","1960","1970","1980","1990","2000","2005"/)
   res@tmXBMinorValues = ispan(1949,2006,1)
   res@gsnLeftString = "tmXBMode = Explicit"
   plot(1) = gsn_csm_xy(wks,ispan(1950,2005,1),arr,res)

Hope that helps. If not, please respond to ncl-talk..
Adam

On 03/05/2012 06:12 AM, JinQ Liu wrote:
> Hi,
> The picture original X - tickmark is " 0 1 2 3 ....", how can i
> change it to " a b c ...." ?
>
> Thanks!
> JinQ
>
> --
> JinQing LIU Master Student
> Ocean University of China, QingDao
> --
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
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
Received on Mon Mar 5 09:55:03 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 14:12:07 MST