Bug in time_axis_labels

From: Davis, Neil <neda_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 20 2011 - 06:17:10 MDT

The option ttmNumTicks had no effect in the version of time_axis_labels
which shipped with NCL V6.0. To fix this bug line 172 of the code should
be changed from:

restick@ttmMajorStride = floattoint((nt-1)/restick@nTicks)

to:

restick@ttmMajorStride = floattoint((nt-1)/(restick@ttmNumTicks - 1))

-- 
 
Neil Davis
Ph.d.-student
Wind Energy Division
Risø DTU
 
Technical University of Denmark
Risø National Laboratory for
Sustainable Energy
Frederiksborgvej 399, P.O. Box 49
Building 125
4000  Roskilde
Direct +45 46775070
neda@risoe.dtu.dk
www.risoe.dtu.dk
 
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 20 06:17:40 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2011 - 08:44:18 MDT