Hi Billy,
There's no need to employ the old "use climatological_axes;can data climatological_axes" work around. Those axes are automatically loaded nowadays. They have been for quite a while (says Russ with his copy of the V3.1 user manual sitting within an arms length).
Cheers,
Russ
From: owner-ferret_users@xxxxxxxx <owner-ferret_users@xxxxxxxx> on behalf of William S. Kessler <william.s.kessler@xxxxxxxx>
Sent: Monday, 25 November 2019 2:50 PM Cc: ferret users <ferret_users@xxxxxxxx> Subject: Re: [ferret_users] Managing tick labels on the x-axis Since it looks like you have more than 1 year of data, you can get ferret to do the monthly averaging for you, using the original data directly:
set dat climatological_axes; can dat climatological_axes
let mydata_cl = mydata[gt=month_irreg@mod]
shade mydata_cl
This is especially useful if your data time axis is irregular, or extends over partial years. In those cases, the average of mydata_cl:
mydata_cl[l=@ave]
is a better estimate of the mean than the simple mean:
mydata[l=@ave]
! this avoids weighting parts of the year with more observation.
@mod makes the axis extend indefinitely, thus allowing plotting the climatology over the original data:
plot mydata ! more than 1 year, possibly irregular
plot/over mydata_cl
Or finding anomalies:
let mydata_cl2 = mydata_cl[gt=mydata] ! put the climatology onto the original time axis
let mydata_anom = mydata - mydata_cl2
Billy K
Sent from my phone .... Please excuse my brevity .... and my typing.
|