[Thread Prev][Thread Next][Index]

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. 

On Nov 24, 2019, at 4:03 PM, Fiedler, Russell (O&A, Hobart) <Russell.Fiedler@xxxxxxxx> wrote:

Hi,

You'll need to put your variable onto a climatological time axis.

Rather than

shade anom

try

let myanom=anom[gt=MONTH_REG@asn]

!or any of the axes that show up with sho axis/all

shade myanom

Russ



From: owner-ferret_users@xxxxxxxx <owner-ferret_users@xxxxxxxx> on behalf of Claude-Michel Nzotungicimpaye <miklonzo.science@xxxxxxxxx>
Sent: Monday, 25 November 2019 6:34 AM
To: ferret users <ferret_users@xxxxxxxx>
Subject: [ferret_users] Managing tick labels on the x-axis
 
Hi there,

I'm generating maps for zonal anomalies [of wetland methane emissions] over 12 months (see attached image) and I'd like to replace numerical labels for the x-axis (ie. 1, 3, ..., 11) by Jan, Mar, ..., Nov.

Can someone please suggest how to achieve that?

FYI, I'm using FERRET v7.1 (optimized).

Thanks in advance,
CM

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement