| Mapping Toolbox | Search  Help Desk |
| colorm | See Also |
Create colormaps for an indexed regular matrix map
Activation
| Command Line |
| colorm(map,maplegend) |
Description
colorm(map,maplegend) displays the matrix map in a new figure window and allows a colormap to be edited and saved to a new variable. map and maplegend are the matrix map and the matrix map legend 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 the panzoom box on and off. The box can be moved by clicking on the new location or by dragging the box to the new location. The box size can be increased or decreased by dragging a corner of the box. Pressing the Return key or double-clicking in the center of the box zooms in.
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 matrix map. 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
encodem getseeds maptrim panzoom seedm