Colors/
lct.pro
Fastest than type loadct, file = 'palette.tbl'
lct
Graphics, Color
lct[, numpal], FILE=FILE, GET_NAME=GET_NAME, LIGHTNESS=LIGHTNESS, _EXTRA=_EXTRA
Parameters
numpal
in
optional
number of the color palette we want to select in the file palette.tbl
Keywords
FILE
default: 'palette.tbl'
The file containing the color palette. It can be in any directory of the !path
GET_NAME
Set this keyword to a named variable in which the names of the color tables
are returned as a string array. No changes are made to the color table.
LIGHTNESS
a scalar used to change the Lightness of the color
palette to be able to adjust according to the printer we use,
the media (paper or slide)...
lightness < 1 to get lighter colors
> 1 to get darker colors
_EXTRA
Used to pass keywords to loadct
Version history
Version
$Id: lct.pro 232 2007-03-20 16:59:36Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
30/3/1999: add extra
6/7/1999: mac/windows compatibility
Produced by IDLdoc 2.0.