The TEK_COLOR procedure loads a 32-color colortable similar to the default Tektronix 4115 color table. This color table is useful because of its distinct colors.

By default, this palette consists of 32 colors. The first 9 colors are: Index 0=black, 1=white, 2=red, 3=green, 4=blue, 5=cyan, 6=magenta, 8=orange.

This routine is written in the IDL language. Its source code can be found in the file tek_color.pro in the lib subdirectory of the IDL distribution.

Syntax


TEK_COLOR [, Start_Index, Colors]

Arguments


Start_Index

An optional starting index for the palette. The default is 0. If this argument is included, the colors are loaded into the current color table starting at the specified index.

Colors

The number of colors to load. The default is 32, which is also the maximum.

Keywords


None

Version History


Pre-4.0

Introduced

See Also


XLOADCT Procedure