<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/PLOTS/DESSINE/

pltv.pro

Draw 2d plots with TV procedure

toppltv find a file graphic

pltv, data[, min][, max], BOTTOM=BOTTOM, BOXZOOM=BOXZOOM, C_MASK=C_MASK, C_NAN=C_NAN, INV=INV, MININ=MININ, MAXIN=MAXIN, MASKVAL=MASKVAL, NCOLORS=NCOLORS, NOINTERP=NOINTERP, _EXTRA=_EXTRA

Parameters

data        in required

The field we want to display can be: 1) an array. If the array is not a 2D array, its mean along the z and t direction will be automatically performed (as it is done in plt). 2) a structure respecting all criterions specified by litchamp cf. IDL> xhelp,'litchamp'

min        in optional default: min of DATA (on non-masked points)

max        in optional default: max of DATA (on non-masked points)

Keywords

BOTTOM        default: 1

The lowest color index of the colors to be used.

BOXZOOM       

Vector indicating the geographic zone on which we want to cut the map. 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, 0, max([gdept, gdepw])] 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 are global variables defined at the last domdef !

C_MASK        default: 0

The color number that should be used for the mask values.

C_NAN        default: !d.n_colors < 255

The color number that should be used for the NaN values.

INV       

Reverse the color order

MININ       

MAXIN       

MASKVAL        default: 1.e+20

The mask value. Note that if abs(mask) < 1.e6, then the exact value of the mask is used to find the maskwd point. if abs(mask) > 1.e6, the test to find the masked value is ge abs(mask)/10. This is necessary to avoid the rounding errors

NCOLORS        default: (d.n_colors < 256) - 1 - BOTTOM

number of colors to be used.

NOINTERP       

Used this keyword if you don't want that the values are interpolated from BOTTOM using NCOLORS colors. This can be for example useful when working on byte type arrays.

_EXTRA       

Used to pass keywords to placedessin, TV, axe, legende, barrecouleur, terminedessin

Examples

IDL> tvplus, dist(100)

Version history

Version

$Id: pltv.pro 286 2007-09-14 13:19:43Z smasson $

History

Aug 2006: Sebastien Masson (smasson@lodyc.jussieu.fr)

Statistics

McCabe cyclic 30
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.