Colormap Editor

The Colormap Editor dialog is used to create custom colors and effects for use as a Colormap.

 

Click the Ellipsis Button button to the right of the Colormap option in the Property Manager to open the Colormap Editor dialog.

 

Colormap Editor
Use the
Colormap Editor dialog to create custom colors for a Colormap.

 

The Colormap Editor dialog sections are described below.

 

Upper Section of Dialog: Opacity Mapping Controls

The upper section of the dialog contains the opacity mapping controls. These controls specify how a range of data values are mapped to opacity in the final output. Note that opacity is the opposite of transparency (0.0 is completely transparent, 1.0 is completely opaque).

 

Opacity Mapping

The Opacity Mapping drop-down displays a series of predefined opacity settings. These may be used to preset the opacity settings which can then be modified as desired. The Opacity Graph is updated to display the selection.

 

Choose one of predefined opacity maps:

·      Fixed 0.2 sets the entire range of data to a fixed opacity of 0.2.  


The
Opacity Mapping predefined setting of Fixed 0.2 sets the
Opacity
to a constant 20%.

·      Fixed 1.0 sets the entire range of data to a fixed opacity of 1.0 (fully opaque).


The
Opacity Mapping predefined setting of Fixed 1.0 sets the
Opacity to a constant 100%.

·      Ramp 0.0 to 0.2 sets the smallest data values to an opacity of 0.0 and the largest data value to an opacity of 0.2. The opacity of the middle values increases linearly.  


The
Opacity Mapping predefined setting of Ramp 0.0 to 0.2 sets the
Opacity to go from 0% to 20%.

·      Ramp 0.0 to 1.0 sets the smallest data values to an opacity of 0.0 and the largest data value to an opacity of 1.0. The opacity of the middle values increases linearly.


The
Opacity Mapping predefined setting of Ramp 0.0 to 1.0 sets the
Opacity to go from 0% (fully transparent) to 100% (fully opaque).

·      Middle Ramp sets the lowest quartile to 0.0 opacity, followed by a linear ramp over the middle half of the data, followed by a fixed opacity of 1.0 for the last quartile.


The
Opacity Mapping predefined setting of Middle Ramp sets the
Opacity to go from 0% to 100% in the middle of the data range.

·      Custom is added as an option automatically when a node is selected, created, removed, or the Opacity value or Data Value options are adjusted.


The
Opacity Mapping predefined setting of Custom is created when any
adjustments are made to one of the
Opacity Mapping predefined settings.

Data Value

Data Value displays the data value of the node selected in the opacity graph. The selected node may be accurately repositioned by entering a new value here. The first and last nodes cannot be changed and this control is disabled (grayed out) when an end node is selected.

 

Level Ends

Check the Level Ends box to level the first and last segments of the opacity graph. When the nodes at one end of a level segment are dragged up or down, the other end is also dragged.

 

Opacity

Choose the level of opacity. This value ranges from 0.0 (completely transparent) to 1.0 (completely opaque). To change the opacity, click on one of the nodes. Then, highlight the existing value and type a new value or click the button to increase or decrease the opacity for the selected node.

 

Opacity Graph

The graph consists of a background histogram showing the distribution of data values. A series of two or more nodes (represented by white squares) are connected by line segments. The selected node is drawn as a larger square. Each node is a moveable anchor point whose horizontal position represents a data value, and whose vertical position represents the desired opacity at that data value. The opacity for data values between nodes is calculated by linear interpolation.

 

Here are some notes about the opacity graph:

 

Middle Section of Dialog: Color Mapping Controls

The middle section of the dialog contains the color mapping controls, which are similar to the opacity mapping controls but affect the colors assigned to the data rather than the opacity.

 

Color Mapping

The color mapping drop-down displays a series of predefined color maps. These may be used to preset the color map which can then be modified as desired.

 

Data Value

Data Value displays the data value of the node selected in the color graph. The selected node may be accurately repositioned by entering a new value here. Note that the first and last nodes cannot be changed and this control is disabled when an end node is selected.

 

RGB/ HSL

Click the RGB or the HSL button to toggle between setting values for RGB (red, green, blue) and HSL (hue, saturation, luminance) modes.

 

RGB specifies the colors as a combination of red, green, and blue. Each component can range from 0 to 255, e.g., black has an RGB of 0,0,0; white has an RGB of 255,255,255; and red has an RGB of 255,0,0.

 

HSL mode includes hue, saturation, and light. Each component can range from 0 to 255. Hue represents the dominant wavelength of the color and is often represented as an angle defining the different hues along the circumference of a circle. Saturation indicates how much of the hue is mixed into the color. Luminance is also known as brightness or intensity and represents how much light is in the color.

 

The three edit boxes to the right allow you to enter the individual color components for the currently selected color node. Alternatively, click on the Color drop-down list to pick a color from a list of examples.

 

Color Graph

The color graph consists of a background histogram showing the distribution of data values. A series of two or more nodes (represented by colored squares) is connected with line segments. The selected node is drawn with a larger frame around it. Each node is a moveable anchor point whose horizontal position represents a data value and whose color represents the desired color at that data value. The color for data values between nodes is calculated by the interpolation method specified in the Interp list.

 

Here are some notes about the color graph:

 

Colormap Preview

A sample of the generated Colormap appears directly below the color graph.


The gradational purple to red Colormap example display appears below
the color graph section with nodes for each color.

Scroll Control

The scroll control appears as a three-dimensional horizontal bar with draggable end handles. Drag a handle left or right to zoom the graphs in or out. When zoomed in, the center section becomes blue. Drag the center blue section to scroll the visible portion left or right. Double-click the center section to return it to the fully visible state.


The scroll bar below the Colormap Example allows you to zoom in on
a section of the Colormap. In this example, the scroll bar was dragged
to zoom in on the yellow, orange, and red nodes.

 

Bottom Section of Dialog: Colors, Interpolation, and Data Values

The bottom section of the dialog allows selection of data minimum and maximum values, individual color picks, and how the color map should be interpolated.  In addition, you can load or save a colormap or close the dialog.

 

Data Min, Data Max

Colormaps process data with values over a specified range. The Data Min and Data Max values correspond with the left and right edges of the Colormap, respectively. Data outside this range are clipped at the corresponding edge of the Colormap. Clipped data are not displayed. The minimum and maximum fields can be set to any desired value. If you wish to reverse the color map, change the Data Min value so that it is greater than the Data Max value.

 

Use Data Limits

Check the Use data limits box to set the Data Min and Data Max values to the limits of the input data. This results in the Colormap mapping the entire range of the input data without any clipping at the ends.

 

Color

Click the Color box to specify the color of the currently selected node. The color palette opens. Click the More Colors button to open the Colors dialog.

 

Interp

Choose the interpolation method used between nodes in the Colormap.

Linear Interpolation
The Linear interpolation results in a smooth transition between nodes.

 

Reverse Interpolation
The Reverse interpolation results in sharp transitions between nodes.

 

Cosine Interpolation
The Cosine interpolation results in a smooth transition between nodes.

 

FlatStart Interpolation
The FlatStart interpolation results in sharp transitions between nodes.
Flat Start uses the first color node (the node on the left).

FlatMiddle Interpolation
The FlatMiddle interpolation results in sharp transitions between nodes.
Flat Middle uses interpolation to determine a color in the middle of the two nodes.

FlatEnd Interpolation
The FlatEnd interpolation results in sharp transitions between nodes.
Flat End uses the last color node (the node on the right).

 

HSL Clockwise Interpolation
HSL Clockwise interpolates the HSL color wheel in a clockwise direction.

HSL Counter Clockwise Interpolation
HSL Counter Clockwise interpolates the HSL color wheel
in a counterclockwise direction.

HSL Shortest Interpolation
HSL Shortest interpolation is the shortest distance between
Clockwise and Counter Clockwise.

HSL Longest Interpolation
The HSL Longest interpolation is the longest distance between
Clockwise and Counter Clockwise.

Load Colormap

Click the Load button to open the Open dialog. Select any saved Colormap File (*.clr) and click the Open button. The Colormap is loaded.

 

Save Colormap

Click the Save button to save the new Colormap properties. The Save As dialog opens. The dialog defaults to saving the Colormap to the Save as type of Colormap Files (*.clr).

 

Close

Click the Close button to exit the Colormap Editor dialog and save your changes.

 

Undo

Use the Edit | Undo command to reverse the changes made before the Colormap Editor dialog was opened.

 

 

See Also

The Property Manager

Colormap

Colors Dialog

Colors

Graphics Output Modules

Tools | Options Colors Page