The
MODIFYCT procedure updates the distribution
color table file
colors1.tbl
, located in the
colors
subdirectory of the
resource
subdirectory of the main IDL directory, or a user-designated file with a new, or modified, colortable.
This routine is written in the IDL language. Its source code can be found in the file
modifyct.pro
in the
lib
subdirectory of the IDL distribution.
The index of the table to be updated, numbered from 0 to 255. If the specified entry is greater than the next available location in the table, the entry will be added to the table in the available location rather than the index specified by Itab . On return, Itab contains the index for the location that was modified or extended. The modified table can be then be loaded with the IDL command: LOADCT, Itab .
, XLOADCT