The MULTI procedure expands the current color table to “wrap around” some number of times.
This routine is written in the IDL language. Its source code can be found in the file multi.pro in the lib subdirectory of the IDL distribution.
Examples
In the following example, we first display an image with the current color table. Then we load color table 1 and make that color table “wrap around” three times. The image is drawn again with the wrapped color table.
DEVICE, get_decomposed=d
DEVICE, DECOMPOSED = 0
WINDOW, /FREE, XSIZE=(512), YSIZE=(256), $
TITLE='MULTI Procedure'
TVSCL, DIST(256), 0
LOADCT, 1
MULTI, 3
TVSCL, DIST(256), 1
DEVICE, decomposed=d
Syntax
MULTI, N
Arguments
N
The number of times the color table will wrap. This parameter need not be an integer.
Keywords
None.
Version History
See Also
STRETCH, XLOADCT