Dear all,
does anybody has an advice how to deal with the self-created timeticks?
I have a 30-year monthly-timeseries and want to display every 4th year and no month at all. However, when I set the element for month to zero
do l=1,dimsizes(time_m)-1
times(0)= where((iyear(l).gt.iyear(l-1).and. mod(iyear(l),4) .eq. 0),iyear(l),0)
times(1)= 0
times(2)= 0
...
I get the following error
CDMS error: Day-of-year error; month: 0
(the plot looks nice as I want it)
if I set
do l=1,dimsizes(time_m)-1
times(0)= where((iyear(l).gt.iyear(l-1).and. mod(iyear(l),4) .eq. 0),iyear(l),0)
times(1)= imonth(l)
times(2)= 0
...
then the error goes away but I have a tickmark-crowded plot ... how to circumvent this?
Thanks in advance! Kristina
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 21 08:09:16 2013
This archive was generated by hypermail 2.1.8 : Thu Feb 21 2013 - 11:26:43 MST