colorm

Create index map colormaps

colorm will be removed in a future release.

Syntax

colorm(datagrid,refvec)

Description

colorm(datagrid,refvec) displays the data grid in a new figure window and allows a colormap to be edited and saved to a new variable. datagrid and refvec are the data grid and the referencing vector of the surface. map must have positive index values into the colormap.

Controls

The colorm tool displays the surface map data in a new figure window with the current colormap. Zoom and Colormaps menus are activated for that figure.

The Zoom On/Off menu toggles interactive zoom on and off.

The Colormaps menu provided a variety of colormap options that can be applied to the map. See clrmenu in this guide for a description of the Colormaps menu options.

The Load button activates a dialog box, used to specify a colormap variable to be applied to the displayed surface map. This colormap can then be edited and saved.

The Select button activates the mouse cursor and allows a point on the map to be selected. The value of that point then appears in the Codes pull-down menu. The color of the selected point appears in the Color pull-down menu and can then be edited.

The Codes pull-down menu is used to select a particular value in the data grid. The color associated with that value then appears in the Color pull-down menu and can be edited.

The Color pull-down menu is used to select a particular color to assign to the value currently displayed in the Codes pull-down menu. A custom color can be defined by selecting the custom option. This brings up a custom color interface with which an RGB triple can be selected.

The Save button is used to save the modified colormap to the workspace. A dialog box appears in which the colormap variable name is entered.

See Also

| | |

Was this topic helpful?