Changeset 388 for trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
- Timestamp:
- 12/09/08 10:36:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
r378 r388 93 93 ; For these ones traced by a trait, use CONTLABEL. 94 94 ; 95 ; @keyword MASKFILL 96 ; set to 0 to avoid to fill the masked values 97 ; 95 98 ; @keyword MAXIN 96 99 ; to specify the max value we want to plot with a keyword instead of with the … … 109 112 ; @keyword NOFILL 110 113 ; To make just isolines with no filling 114 ; 115 ; @keyword NOMASK 116 ; activate to supress the use of the land-sea mask when plotting the field 117 ; 118 ; @keyword NO_PARTIALSTEP 119 ; activate to supress the use of partial steps (force key_partialstep = 0 within pltz) 111 120 ; 112 121 ; @keyword NOTRI … … 116 125 ; the keyword CELL_FILL=2. 117 126 ; Comment: if the field contain points !values.f_nan, then we even do a triangulation. 127 ; 128 ; @keyword MASKDTA 129 ; 2d array defining the mask that must be applied to the data instead 130 ; of the default mask which is defined according to the grid (t/u/v/f mask) 118 131 ; 119 132 ; @keyword OVERPLOT … … 172 185 , STYLE=style, CONTMAX=contmax, SIN=sin, TYPEIN=typein $ 173 186 , CONTMIN=contmin, NLEVEL=nlevel, CONTNLEVEL=contnlevel $ 174 , NOFILL=nofill, NOTRI=notri, USETRI=usetri, FILLXDIR=fillxdir $ 187 , NOFILL=nofill, NOMASK = nomask, NO_PARTIALSTEP = no_partialstep, NOTRI=notri $ 188 , USETRI = usetri, FILLXDIR = fillxdir $ 175 189 , ZOOM=zoom, XZ=xz, YZ=yz, MININ=minin, MAXIN=maxin $ 176 , STRICTFILL=strictfill, OVERPLOT=overplot , MASKFILL=maskfill$177 , WDEPTH=wdepth, REALSECTION=realsection $190 , STRICTFILL=strictfill, OVERPLOT=overplot $ 191 , WDEPTH=wdepth, REALSECTION=realsection, MASKFILL=maskfill, MASKDTA = maskdta $ 178 192 , _EXTRA=ex 179 193 ; … … 197 211 ; 198 212 if n_elements(contour) ne 4 THEN saveboxparam, 'boxparam4pltz.dat' 213 key_partialstep = keyword_set(key_partialstep) * (1b - keyword_set(no_partialstep)) 199 214 ;-------------------------------------------------------------- 200 215 ; Reading of the field. … … 262 277 ; to draw from bottom to top (avoid using cell_fill) 263 278 z2d = reverse(z2d, 2) 279 szmsk = size(mask, /dimensions) 280 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 281 IF keyword_set(maskdta) THEN mask = byte(fitintobox(maskdta)) 264 282 ;----------------------------------------------------------------------------- 265 283 ; Determination of the mi:min and of the ma:max of z2d in the same way … … 355 373 if keyword_set(nan) then trinan = triangule(masknan, /basic, coinmonte = coinmontenan, coindescend = coindescendnan) 356 374 maskorg = mask 357 decoupeterre, mask, glammsk, gphimsk, gdepmsk, type = type, WDEPTH = wdepth, REALSECTION = realsection 375 decoupeterre, mask, glammsk, gphimsk, gdepmsk, type = type, WDEPTH = wdepth, REALSECTION = realsection, MASKDTA = maskdta 358 376 axis4pltz, type, mask, glammsk, gphimsk, gdepmsk, XXAXIS = xmask, ZZAXIS = zmask, SIN = sin, ZRATIO = zratio, ZOOM = zoom, PROFMAX = profmax, PROFMIN = profmin, _extra = ex 377 szmsk = size(mask, /dimensions) 378 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 359 379 ENDIF ELSE BEGIN 360 380 xmask = xxaxis
Note: See TracChangeset
for help on using the changeset viewer.