Documentation for gk_lib

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

gk_dcm.pro


top source gk_dcm

result = gk_dcm(cm [, /reverse])

Loads gk_lib's discrete color maps (dcm). Library folder and subfolders must be in path for colormap files to be found.

Parameters

cm in required type=string

Colormap ID: gk1, gk2, gk3, or gk4.

Keywords

reverse in optional type=boolean

Reverses the colormap.

Examples

Let's load a colormap into a plotting routine: IDL> colormap=gk_dcm('gk1') IDL> iimage,dist(500),rgb_table=colormap

Now, for gk2: IDL> colormap=gk_dcm('gk2') IDL> iimage,dist(500),rgb_table=colormap

and gk3: IDL> colormap=gk_dcm('gk3') IDL> iimage,dist(500),rgb_table=colormap

Author information

Author:

Graziela Keller, Jul 2018

File attributes

Modification date: Thu Jul 19 04:16:42 2018
Lines: 61
Docformat: rst rst