ToBeReviewed/PLOTS/DESSINE/
plt1d.pro
Trace 1d graphs: x,y,z (or t but in this case, we recall directly pltt)
plt1d
Graphics
plt1d, tab, param2[, param3][, param4], BOXZOOM=BOXZOOM, SIN=SIN, MININ=MININ, MAXIN=MAXIN, TYPEIN=TYPEIN, ENDPOINTS=ENDPOINTS, COL1D=COL1D, STY1D=STY1D, OV1D=OV1D, X=X, Y=Y, Z=Z, TT=TT, REVERSE_X=REVERSE_X, REVERSE_Y=REVERSE_Y, SWITCHXY=SWITCHXY, _EXTRA=_EXTRA
Parameters
tab
in
required
The field whose we want to make the hovmoeller map can be 2 kind of thing:
1) An array which can be:
* 2d, 3d or 4d: array xy, xyz. xyt or xyzt. In this case, the array
will pass in moyenne or grossemoyenne to be
averaged and become an array 1d.
* 1d:Nevertheless, the type must be specified in order to we know which
trace it is about. To have a correct caption, respecify the extraction
zone via BOXZOOM.
2) a structure respecting all criterions specified by litchamp
The array contained in the structure respecting criterions of case 1)
param2
in
required
Min value we want to consider in the contour's drawing.
Note: could also be the type of plot:'x','y','z'
param3
in
optional
default: min/max of tab (on ocean points)
Max value we want to consider in the contour's drawing.
Note: if param2 is defined as 'x','y','z' then param3 is used to define the min (see param2)
param4
in
optional
default: max of tab (on ocean points)
Type of plot (can be only 'x','y','z' for plt1d).
Note: if param2 is defined as 'xy' then param4 is used to define the max (see param3)
Keywords
BOXZOOM
Vector indicating the geographic zone (3d) on which the extraction of the
field must be done to do the hovmoeller.
If BOXZOOM has :
1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]]
2 elements: The extraction is made on [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]]
4 elements: The extraction is made on [Boxzoom, vert1, vert2]
5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]]
6 elements: The extraction is made on Boxzoom
Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at
the last domdef !
SIN
Activate this keyword if we want the x axis to be traced in sinus of the
latitude when we make a drawing f(y)
MININ
Allows to specify the min value we want to consider in the drawing of contour
helping by the keyword instead of the argument min.
If the argument and the keyword are specified in the same time, it is the
value specified by the keyword which is retained.
MAXIN
Allows to specify the max value we want to consider in the drawing of contour
helping by the keyword instead of the argument max.
If the argument and the keyword are specified in the same time, it is the
value specified by the keyword which is retained.
TYPEIN
allows to specify the type of hovmoeller we want to do
'xt','yt','zt','t'
with help of a keyword rather than the argument type. If the argument and the
keyword are specified in the same time, it is the value specified by the
keyword which is retained.
ENDPOINTS
keyword specifying that we want to make a vertical cut in diagonal.
Then coordinated of extremities of these ones are defined by the 4 elements
of the vector ENDPOINTS: [x1,y1,x2,y2] which are coordinates.
COL1D
--OBSOLETE--Color number when we make a trace 1d by default, 0.
It is better to use the keyword COLOR used by plot.
STY1D
--OBSOLETE--
Number of the style used when we make a 1d drawing. We should better use the
keyword LINESTYLE which is tho one of the plot. Beware, this keyword is still
useful if we want to d bars instead of curves, put sty1d='bar'
OV1D
Allow the double exposure of an 1d curve to a precedent 1d trace.
X
Y
Z
TT
REVERSE_X
To invert the x axis (so as the drawing)
REVERSE_Y
To invert the y axis (so as the drawing)
SWITCHXY
_EXTRA
Used to pass keywords
Version history
Version
$Id: plt1d.pro 378 2008-08-12 12:35:46Z pinsard $
History
creation 24/6/99 Eric Guilyardi
(a partir routine pltt de Sebastien Masson)
8/7/1999 Sebastien Masson (smasson@lodyc.jussieu.fr)
inspection des travaux finis
8/2/2000 Sebastien Masson: checkfield
Produced by IDLdoc 2.0.