Re: skipping tickmarks

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue, 03 Apr 2007 11:10:15 -0600

Hi Mateus,

Take a look at example #2 on the tickmarks applications page:

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

The way to go is by setting tmXBMode = "Explicit", and then
explicitly setting the values and labels. For instance:

   res_at_tmXBMode="Explicit"
   res_at_tmXBValues=(/1950,1960,1980,1990,2000/) ; skip 1970
   res_at_tmXBLabels=(/"1950","1960","1980","","2000"/) ; don't label 1990

once you set res_at_tmXBMode = "Explicit", the minor tickmarks are turned
off, so you would need to set tmXBMinorValues if you still want the
minor tickmarks to be drawn:

   res_at_tmXBMinorValues = ispan(1949,2006,1)

Good luck,
Adam

Mateus da Silva Teixeira wrote:
> Dear NCL users,
>
> I'm trying to skip some tickmarks, but I only being able to skip the
> tickmarks to plot labels and tickmarks are still being plotted.
> Is there a similar resource as tmXBLabelStride to control the tickmarks?
>
> Thanks
> Mateus
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 03 2007 - 11:10:15 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 11 2007 - 08:36:47 MDT