LOADCT Procedure
Standard Library procedure that loads a predefined color table.
Usage
Input Parameters
table_number—(optional) A number between 0 and 18; each number is associated with a predefined color table.
Keywords
Ctfile—Specifies a string containing the name of a color table file to load.
Silent—If present and nonzero, suppresses the message indicating that the color table is being loaded.
Discussion
Predefined color tables are stored in the file colors.tbl
. There are 19 predefined color tables, with indices ranging from 0 to 18, as shown in Predefined Color Tables.
For a menu listing of the color tables, call LOADCT without parameters.
Number |
Name |
0 |
Black and White Linear |
1 |
Blue/White |
2 |
Green/Red/Blue/White |
3 |
Red Temperature |
4 |
Blue/Green/Red/Yellow |
5 |
Standard Gamma-II |
6 |
Prism |
7 |
Red/Purple |
8 |
Green/White Linear |
9 |
Green/White Exponential |
10 |
Green/Pink |
11 |
Blue/Red |
12 |
16 Level |
13 |
16 Level II |
14 |
Steps |
15 |
PV-WAVE Special |
16 |
W-B LINEAR |
17 |
HEAT 1 |
18 |
HEAT 2 |
Examples
; Loads the Red Temperature color table. LOADCT, 3 ; Loads the Blue/Red color table without displaying a message. LOADCT, 11, /Silent
See Also
TVLCT, MODIFYCT, STRETCH, TEK_COLOR, WgCtTool
For more information, including a comparison of LOADCT and TVLCT, see the PV‑WAVE User Guide.