vis/color/
mg_create_ctfile.pro
Routines
top mg_create_ctfile
mg_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 MG_CREATE_CTFILE to create the
new file and MODIFYCT to add color tables to it. For example:
IDL> mg_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: | Wed May 14 15:07:15 2014 |
| Lines: | 8 |
| Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.