ToBeReviewed/PLOTS/DIVERS/
placedessin.pro
Putting into place of the drawing/ opening of the window or of the PS
placedessin
Utilities
placedessin, typedessin, posfenetre, posbar[, dtasize], BARMARGES=BARMARGES, NOCOLORBAR=NOCOLORBAR, NOFILL=NOFILL, COLOR_c=COLOR_c, CONTOUR=CONTOUR, VECTEUR=vector, PORTRAIT=PORTRAIT, LANDSCAPE=LANDSCAPE, SMALL=SMALL, MARGES=MARGES, MAP=MAP, REMPLI=REMPLI, POST=POST, WINDOW=WINDOW, ENDPOINTS=ENDPOINTS, TYPE=TYPE, BASICMARGES=BASICMARGES, NOERASE=NOERASE, LCT=integer, DIREC=DIREC, CB_TITLE=CB_TITLE, _EXTRA=_EXTRA
Parameters
typedessin
type: string
It specify what procedure is called by placedessin :
'plt', 'pltz' or 'pltt'
posfenetre
out
type: vector
It is a vector composed by 4 elements containing the position of the frame
containing captions and the graph in normalized coordinates.
Comment: To position the drawing; we have to do !p.position=posfenetre
after the call of the caliber
posbar
out
type: vector
Like POSFENETRE but for the color bar.
Same comment to position the color bar, !p.position=posbar
dtasize
in
optional
type: 2 elements vector
used by pltv to specify the size of the array that will be plotted
and therefore the default yxaspect to be used.
Keywords
BARMARGES
NOCOLORBAR
We active it if we do not want the colorbar.
NOFILL
We active it if we only want contours in black and white with a white background.
COLOR_c
To draw the contour in color instead of in black
with filling in color
CONTOUR
If we want to trace contours of a different field than the one
whose we have the colored drawing (by example E-P in color and QSR in contours).
It must be a field respecting same characteristics than the argument number
one of plt.
VECTEUR
type: vector
is also appropriated.
PORTRAIT
Force the page or the window to be in standing position.
LANDSCAPE
Force the page or the window on the screen to be in lengthened position.
SMALL
Vector composed of 3 or 4 elements, applied to make a drawing on a
small portion of a page or screen. It delimit the zone where the drawing will be done.
If there is 4 elements:
then is constituted of coordinates (expressed in cm located from the up and
left corner of the page or the window (in portrait like in landscape) of the bottom
and left corner and of the up and right corner of the drawing zone.
If there is 3 elements:
in this case, we divide the page or the screen in small[0] columns and in small[1] lines
the drawing made in the box numbered small[2]. The numerotation starting up and left by
the number 1 and then, following the writing direction.
By default, we make the largest drawing we can do, conserving the aspect rapport
(except when REMPLI is activated).
MARGES
MAP
We use it when we want to do a projection.
This keyword can be of two types:
MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of MAP_SET).
/MAP: In this case, map is automatically calculated have the value:
map = [0, (lon1+lon2)/2., 0]
Comment 1: A good way to choose the type of the projection we want to do is to have a look at IDL demo:
IDL> demo
Then choose earth sciences and mapping.
Comment 2: By default it is a cylindrical projection which is effectuated (with or without the keyword map).
If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection.
For example, for a polar projection centered on the south pole:
IDL> domdef,-180,180,-90,-45
IDL> plt, tab, /stereo,map=[-90,0,0]
REMPLI
Force the drawing to occupy the whole space defined by small.
POST
Make a postscript. Only works if we made one drawing on the page.
If we make several drawing, use @ps.
WINDOW
Number of the window on which we want to do the graph (Allow to open several windows).
By default, we open 'IDL0'
ENDPOINTS
keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities
of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are
coordinates.
TYPE
BASICMARGES
NOERASE
We active it to make a drawing without creating a new frame.
LCT
type: integer
It designate the number of the palette of color we want to use for the plot.
DIREC
't' 'x' 'y' 'z' 'xys' 'xz' 'yz' 'xyz' 'xt' 'yt' 'zt' 'xyt'
'xzt' 'yzt' 'xyzt' Direction on which do averages
CB_TITLE
The colorbar's title
_EXTRA
Used to pass keywords
Version history
Version
$Id: placedessin.pro 297 2007-09-25 15:09:12Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
26/4/1999
Other attributes
Uses routines
common.pro
Produced by IDLdoc 2.0.