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

ToBeReviewed/PLOTS/DESSINE/

tvplus.pro

Enhanced version of tvscl

toptvplus quick exploration of 2D arrays INPUTS:

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

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 fonctionnalities of tvplus are not coded for "scrolling window" case...

Keywords

BOTTOM       

The lowest color index of the colors to be loaded in the bar. default is 0.

C_MASK       

The color number that should be used for the mask values. default value is 0

C_NAN       

The color number that should be used for the NaN values. default value is !d.n_colors < 255

WINDOW       

Number of the window used to display the array values. default is window number 0.

MIN       

Scalar used to specify the min value of the color bar. default is 0

MAX       

Scalar used to specify the max value of the color bar. default is !d.n_colors < 255

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 shoing zoom. It is used to shift the ranges of xaxis and yaxis. For example: tvplus,sst[x1:x2,y1:y2],offest=[x1,y1]

NOUSEINFOS       

Activite to supress the printed message explaining how to use tvplus

NCOLORS       

This is the number of colors in the color bar. default is !d.n_colors<255 -1

NOINTERP       

Used this keyword if you don't whant that the values are interpolated between 0 (or min) and !d.n_colors < 255 (or max). This can be for example usefull when working on byte type arrays.

_EXTRA       

Examples

IDL> tvplus, dist(100)

Version history

Version

$Id$

History

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 fonctionnalities of tvplus are not coded for "scrolling window" case...
Produced by IDLdoc 2.0.