Starts a VDA Tool used for editing the image and plot color tables used in other VDA Tools.
NOTE: If three variables are specified, all three must be 1D arrays of equal length or equivalent expressions. The input variables are used as a triplet to specify the three components of the color table: (red, green, blue) for the RGB model; (hue, saturation, value) for the HSV model; or (hue, lightness, saturation) for the HLS model. See the Discussion for the ranges of these variables.
var3
Hls
Hsv
Image
NOTE: If neither Image nor Plot is specified, both color tables are displayed.
Plot
Position
Range
[image_start_color, image_end_color, plot_start_color, plot_end_color]
.If the range is not specified, the IMAGE_RANGE and PLOT_RANGE global variables are used.
Restore
Template
wavedir
/lib/vdatools/wzcoloredit.pro
wavedir
:[LIB.VDATOOLS]WZCOLOREDIT.PRO
wavedir
\lib\vdatools\wzcoloredit.pro
wavedir
is the main PV-WAVE directory. The ranges of the input variables depend on the type of color system that is specified. The components of each color system can have specific ranges of values, shown in the following table.
Color System Component | Input Variable Range |
---|---|
r, g, b | 0 - 255 |
hue | 0 - 360 |
saturation, lightness, value | 0 - 1.0 |
Using a menu bar selection, you can pick from a number of predefined system color tables, or create and save your own custom color tables. As you make selections and/or changes to those selections all other VDA Tools that are running are updated, so you can see the results of your color edits immediately after making them.
The editing capabilities included in this VDA Tool let you change a single cell or a range of cells at the same time. Changes to a single cell can be made using control area sliders, or a color wheel dialog box. Changes to a range of color table cells are made by applying a ramp function between two specified color table indices. The ramp method can be linear, logarithmic, or exponential.
NOTE: If the beginning index you specify for the ramp function is larger than the ending index, the VDA Tool ignores the index order when applying the ramp.
WAVE
prompt.
hue = [0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330] saturation = FLTARR(12) saturation(*) = 1.0 value = saturation
WzColorEdit, hue, saturation, value, /Hsv