[Thread Prev][Thread Next][Index]

Re: [ferret_users] symbols LABZ, LABT as LABX, LABY



Hi Patrick-
We do have something of the sort, in a recent addition. What you propose might be even more convenient, but after any plot, there are a set of symbols defined, LABNUM*

For example,

yes? use coads_climatology
yes? plot/x=180/y=0 sst

yes? sh sym sst
yes? sh sym lab*
LAB1 = "FERRET Ver. 6.7"
LAB2 = "NOAA/PMEL TMAP"
LAB3 = "05-APR-2011 09:39:26"
LAB4 = "LONGITUDE : 179E"
LABNUM_X = "4"
LAB5 = "LATITUDE : 1S"
LABNUM_Y = "5"
LAB6 = "DATA SET: coads_climatology"
LABNUM_DSET = "6"
LAB7 = ""
LABNUM_DATITL = "7"
LABY = "Deg C"
LABTIT = "SEA SURFACE TEMPERATURE (Deg C)"



So that you can control the labels on a plot, for instance,

  fill/set var
    go remove_logo
    IF ($labnum_x"0|*>1") THEN go unlabel ($labnum_x)
    IF ($labnum_dset"0|*>1") THEN go unlabel ($labnum_dset)
  ppl fill


This capability is not yet in the documentation, but is available in the last couple of Ferret releases. The full list of these symbols is:

LABNUM_X
LABNUM_Y
LABNUM_Z
LABNUM_T
LABNUM_DSET
LABNUM_ASPECT
LABNUM_YEAR
LABNUM_DATITL
LABNUM_OFFSET
LABNUM_DODS
LABNUM_CALEND



On 4/5/2011 8:37 AM, Brockmann Patrick wrote:
Hi all,

A wish.
It is nice to have defined labels that are set automatically after a plot.
Unfortunatelly some of those symbols depends of the shape of the
plotted variable. It is the case for the symbol LAB4 and LAB5.

If the variable plotted depends XYZ then
a shade command will define LABX, LABY and a last
LAB4 representing the Z axis

If the variable plotted depends XYT then
a shade command will define LABX, LABY and a last
LAB4 representing the T axis

If the variable plotted depends XYZT then
a shade command will define LABX, LABY and LAB4 and LAB5 representing the Z and T axis


So could it be possible to have rather than
symbols LAB4 and LAB5
symbols LABZ and LABT

See: http://dods.ipsl.jussieu.fr/brocksce/ferret_bugs/wish667_labz_labt.jnl

Thanks a lot
Patrick




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

Privacy Policy | Disclaimer | Accessibility Statement