color/
vis_create_ctfile.pro
top vis_create_ctfile
vis_create_ctfile, filename
Create a new color table file suitable for use with MODIFYCT, LOADCT,
XLOADCT, and IDLgrPalette::loadCT.
Parameters
- filename in required type=string
filename for new color table file
Examples
To create a new color table file, use VIS_CREATE_CTFILE to create the
new file and MODIFYCT to add color tables to it. For example:
IDL> vis_create_ctfile, 'test.tbl'
IDL> modifyct, 0, 'CT 0', r0, g0, b0, file='test.tbl'
IDL> modifyct, 1, 'CT 1', r1, g1, b1, file='test.tbl'
...etc...
File attributes
| Modification date: | Mon Nov 29 18:33:10 2010 |
| Lines: | 30 |
| Docformat: | rst rst |