mglib

Personal IDL library for M. Galloy

Directory: vis/color/

routines for dealing with specifying colors and color tables

Contents

.pro files

mg_color.pro

Get an RGB color value for the specified color name.

mg_cpt2ct.pro

Converts a GMT color table file to an RGB color table.

mg_create_ctfile.pro

Create a new color table file suitable for use with MODIFYCT, LOADCT, XLOADCT, and IDLgrPalette::loadCT.

mg_cubehelix.pro

Calculate a "cube helix" color table and set the current direct graphics color table (unless RGB_TABLE is present).

mg_dialog_pickcolor.pro

Panes: color circle, slides (in BW, RGB, HSV, HSB, CMYK), listing of color names

mg_index2rgb.pro

Converts color indices to RGB coordinates.

mg_loadct.pro

Load a color table by index.

mg_makect.pro

Create a color table based on starting and ending colors (or optionally, a center color) and linearly interpolating.

mg_rgb2index.pro

Convert RGB coordinates of colors to the decomposed color indices of the colors.

mg_xloadct.pro

Load a color table by index using a GUI interface.

mggrpalette__define.pro

Subclass of IDLgrPalette with more color table choices.

.idldoc files

cpt-city color tables
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.