Reference Guide > I–L Routines > LOADCT Procedure
  

LOADCT Procedure
Standard Library procedure that loads a predefined color table.
Usage
LOADCT[, table_number]
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 Tablese.
For a menu listing of the color tables, call LOADCT without parameters.
 
Table 10-6: Predefined Color Tables
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_COLORWgCtTool
For more information, including a comparison of LOADCT and TVLCT, see the PV‑WAVE User’s Guide.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.