ToBeReviewed/PLOTS/DESSINE/
tvplus.pro
Enhanced version of TVSCL
tvplus
quick exploration of 2D arrays
tvplus, z2d[, cellsize], BOTTOM=BOTTOM, C_MASK=C_MASK, C_NAN=C_NAN, WINDOW=WINDOW, MIN=MIN, MAX=MAX, MASK=MASK, OFFSET=OFFSET, NOUSEINFOS=NOUSEINFOS, NCOLORS=NCOLORS, NOINTERP=NOINTERP, _EXTRA=_EXTRA
Parameters
z2d
in
required
2D array to visualize
cellsize
in
optional
This is the size (in pixel) of the square
representing 1 array element. By default, this size is computed
automatically in order that the size of the plotting window do
not exceed the screen size. If the user specify a large value
of cellsize that forces tvplus to create a window larger than
the screen, a "scrolling window" will be displayed instead of a
regular window. Unfortunately the nice functionalities of tvplus
are not coded for "scrolling window" case...
Keywords
BOTTOM
default: 1
The lowest color index of the colors to be used
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.
WINDOW
Number of the window used to display the array values.
default is window number 0.
MIN
Scalar used to specify the min value to be drawn.
MAX
Scalar used to specify the max value to be drawn.
MASK
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
OFFSET
2 elements vector used by tvplus itself when showing zoom.
It is used to shift the ranges of xaxis and yaxis.
For example: tvplus,sst[x1:x2,y1:y2],offset=[x1,y1]
NOUSEINFOS
Activate to suppress the printed message explaining how to use tvplus
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 TV,
PLOT,
colorbar
Examples
IDL> tvplus, dist(100)
Version history
Version
$Id: tvplus.pro 327 2007-12-13 16:22:35Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
18/12/98
Aug 2005: quick cleaning + english
Known issues
Restrictions
use your mouse to scan the array values...
left button : mouse position and associated array value
middle button: use it twice to define a zoom box
right button : quit
the nice functionalities of tvplus are not coded
for "scrolling window" case...
Produced by IDLdoc 2.0.