Re: How to set number (Frequency) of minor ticks for xy plot

From: Xianxiang Li <xianxiang.li_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 24 2010 - 22:17:56 MST

Mark,

There are two situations when setting minor ticks. I will take the XB
axis as an example

First, when tmXBMode = "Explicit", you have to explicitly prescribe
the position of minor ticks by tmXBMinorValues.
   res@tmXBMode = "Explicit"
   res@tmXBValues = ispan(0, 23, 12)
   res@tmXBMinorValues = ispan(0, 23, 4) ; set 2 minor ticks between
two major ticks

Second, when tmXBMode is not set, you can use tmXBMinorPerMajor to
directly set the frequency of minor ticks, like res@tmXBMinorPerMajor
= 2.

Hope this helpful.

Regards,

Xianxiang
On Thu, Nov 25, 2010 at 3:00 AM, <ncl-talk-request@ucar.edu> wrote:

> ------------------------------
>
> Message: 3
> Date: Wed, 24 Nov 2010 09:45:56 -0800 (PST)
> From: Mark Chan <cym263@yahoo.com>
> Subject: How to set number (Frequency) of minor ticks for
>        xy plot
> To: ncl-talk@ucar.edu
> Message-ID: <147313.67717.qm@web31605.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi
>
> I am struggling to set the required number of minor ticks (between two major
> ticks) for XY plot. Can someone give a hint?
>
> Mark?
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> End of ncl-talk Digest, Vol 84, Issue 32
> ****************************************
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 24 22:18:03 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 30 2010 - 08:26:08 MST