[ncl-talk] minor tickmarks in date/time style plot

ivica ivica.jan at gmail.com
Fri Jan 23 04:03:44 MST 2015


Dear ncl community,
I am plotting regular XY plot with X coordinate as time (date).
Feature of time_axis_labels works as expected, the only problem I have 
is to put minor ticks at the beginning of the month.
For example, you have daily data of temperature for 5 years and you want 
to put on X axis years as mayor ticks with corresponding  tick labels 
but at the same time minor ticks for start of each month.
Using   resTick at ttmMajorStride = 365.25  (for approx year) and 
resTick at ttmMinorStride = 30 (for monthly) is not working as Feb is 28 
days and so on...

Any hint is welcome.

Cheers,
Ivica



-- 
Marine & Environmental Research Division
Rudjer Boskovic Institute
P.O.Box 180
10002 Zagreb, Croatia
http://www.irb.hr/eng/People/Ivica-Janekovic
fax: +385-1-468 0242, phone: +385-1-456 1139


More information about the ncl-talk mailing list