ToBeReviewed/PLOTS/DESSINE/
pltbase.pro
Overlayer contour to trace a field which can be mask.
Elementary brick of plt, pltz et pltt.
pltbase
Graphics
pltbase, z2d, x, y, mask, xm, ym[, levels][, colors], UNSUR2=UNSUR2, CONTOUR=CONTOUR, NOCONTOUR=NOCONTOUR, NOFILL=NOFILL, TRICHAMP=TRICHAMP, TRIMSK=TRIMSK, REALCONT=REALCONT, NAN=NAN, usetri=usetri, COLORTRICHAMP=COLORTRICHAMP, COLORTRIMASK=COLORTRIMASK, COLORTRINAN=COLORTRINAN, COLORPOINTS=COLORPOINTS, DRAWPOINTS=DRAWPOINTS, TH_TRICHAMP=TH_TRICHAMP, TH_TRIMASK=TH_TRIMASK, DESSTRICHAMP=DESSTRICHAMP, DESSTRIMASK=DESSTRIMASK, DESSTRINAN=DESSTRINAN, COLOR_C=COLOR_C, I_COLORS=vector, CONT_COLOR=CONT_COLOR, CONT_NOFILL=CONT_NOFILL, UNLABSUR=integer, COINMONTEMASK=COINMONTEMASK, COINDESCENDMASK=COINDESCENDMASK, COINMONTENAN=COINMONTENAN, COINDESCENDNAN=COINDESCENDNAN, INDICEZOOMMASK=INDICEZOOMMASK, INDICEZOOMNAN=INDICEZOOMNAN, MASKNAN=MASKNAN, TRINAN=TRINAN, FORPLT=FORPLT, REALSECTION=REALSECTION, MORE=MORE, EXCHANGE_XY=EXCHANGE_XY, _EXTRA=_EXTRA
Parameters
z2d
in
required
The table to trace
x
in
required
Axis. Vector or array of the same size that z2d. This is the coordinate of z2d on x.
y
in
required
Axis. Vector or array of the same size that z2d. This is the coordinate of z2d on y.
mask
in
required
type: array
It is the array who mask z2d (with 0s on points we want to mask and 1s on others).
If z2d is not masked, put this argument equal to 1.
xm
in
required
Axis of the mask. Vector or array of the same size that mask.
This is the coordinate of mask on x.
ym
in
required
Axis of the mask. Vector or array of the same size that mask.
This is the coordinate of mask on y.
levels
in
optional
type: vector
Vectors which contain levels needed at the contour.
If it is not given, we take 20 levels between the min and the max.
colors
in
optional
type: vector
Vectors which contain colors needed at the contour.
If it is not given, we take 20 levels between the min and the max.
Keywords
UNSUR2
To trace one isoline on two.
CONTOUR
To be used since plt, pltz or pltt. (Have a look on these routines).
NOCONTOUR
To make just colors.
NOFILL
To make just isolines.
TRICHAMP
TRIMSK
REALCONT
NAN
usetri
COLORTRICHAMP
The color we want to use to draw the triangulation which is used to make contours of the field.
COLORTRIMASK
The color we want to use to draw the triangulation which is used to make contours of the mask.
COLORTRINAN
COLORPOINTS
DRAWPOINTS
TH_TRICHAMP
TH_TRIMASK
DESSTRICHAMP
To draw the triangulation which is used to make field's contours.
DESSTRIMASK
To draw the triangulation which is used to make mask's contours.
DESSTRINAN
COLOR_C
To draw the contour in color instead of in black
with filling in color
I_COLORS
type: vector
It is a vector specifying the colors to use to trace contours.
It is the same thing that c_colors which act on contours.
CONT_COLOR
default: (!d.n_colors - 1) < 255
The color of the continent.
CONT_NOFILL
Activate it not to fill the point mask to let them transparent!
Comment: Nevertheless, we trace mask's contour.
UNLABSUR
type: integer
I specify we only label one contour on two.
COINMONTEMASK
COINDESCENDMASK
COINMONTENAN
COINDESCENDNAN
INDICEZOOMMASK
INDICEZOOMNAN
MASKNAN
TRINAN
FORPLT
To activate if we want that the drawing of coast be realized by tracecote rather than tracemask.
REALSECTION
MORE
default: 10
Number to give to avoid style's bugs:
% Out of range subscript encountered: .
% Execution halted at: PLTBASE 151
If the bug still exist, increase the value of more!
(The explanation and the justification of this method do not have scientific bases yet...).
EXCHANGE_XY
_EXTRA
Used to pass your keywords
Version history
Version
$Id: pltbase.pro 157 2006-08-21 09:01:50Z navarro $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
????
8/2/2000 check if the tri array is not equal to
-1. allow contour with out using a triangulation.
Known issues
Todo items
seb L.172 à 173
Restrictions
In the case of z2d, x and y are arrays of same size, we hate to put them as vectors: z2d[*], x[*], y[*].
Other attributes
Uses routines
common.pro
Produced by IDLdoc 2.0 on Tue Aug 29 14:50:11 2006.