[Thread Prev][Thread Next][Index]
Re: [ferret_users] Changing X axis label on a time series plot
Hi Steve,
One Time axis is on, the usuall PPL axis commands (like XLAB, AXLSZE
AXLINT, AXNMTC ...) will not be effective (only) on the time axis. There are
few PPL commands for time axis like TXLABP, TXTYPE, TXLINT, TXLSZE & TXNMTC
but there is no option like "XLAB".
In your case time-axis type is "MON" and style is "DAY". You can control
the labelling of days or month along this time axis using TXLINT. TXLINT does
have two arguments,
arg. 1 --> labelling of axis style (here days)
arg. 2 --> labelling of axis type (here month)
Arguments can have values 0 (do not label) or 1 (do label). Here is an example.
!--------------------------------------------------------------------
! create a dummy variable and make a plot in the default way
define axis/t=01-SEP-2000:30-SEP-2000:1/units=days time
let var = SIN(t[gt=time]/5)
set view upper ; plot var
! remove the default time axis label --> "SEP"
set view lower
plot/set var
ppl txlint 1, 0
ppl plot
label/nouser 4,-0.6,0,0,0.15 @C002 My Label
!-----------------------------------------------------------
Hope this helps
Regards,
Jaison
On Sat, 8 Apr 2006, Stephen R. Guimond wrote:
Hello,
I want to change the x axis label on a time series plot, but have been
unable to find out how from the documentation. I have days in a month as the
time axis and now it only shows "SEP" on the x axis (see attached plot) and I
want to be able to add my own label (ppl xlab does no good). Any help would
be greatly appreciated!
Thanks,
Steve
=======================================================
Stephen R. Guimond
Graduate Research Assistant
Center for Ocean-Atmospheric Prediction Studies (COAPS)
Tallahassee, FL 32304
=======================================================
----------------------------------------------------------------
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement