Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
PIXCOLOR
Assign colors to specified pixel values in a color lookup table
PIXCOLOR, pixvalue, color ;Set color at specified pixel values
pixvalue - value or range of pixel value whose color will be modified. A single pixel value may be specified by an integer If a range of values is specified, then it must be written as a string, with a colon denoting the range (e.g.'102:123') If omitted, program will prompt for this parameter. color - single character string giving specified color values. Available options are 'R' (red), 'B' (blue), 'G' (green) 'Y' (yellow), 'T' (turquoise), 'V' (violet), 'W' (white) or 'D' (dark). If omitted, program will prompt for this parameter.
None
TVLCT is used in RGB mode to load the specified pixel values.
Set pixel values of 245 to a color of red IDL> pixcolor,245,'R'
Written, W. Landsman ST Systems Corp. February, 1987 Converted to IDL V5.0 W. Landsman September 1997
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]