The color scale is a specialized label object that displays a color map and an accompanying numerical scale for color mapped or contour data plots. The color scale displays by default when creating color-filled or gray-scale contour graphs.
.
Contents |
or
or
These menu commands and the toolbar button are only available if the active data plot is color mapped and a color scale is not already displayed.
The numeric format of the color scale is controlled by the Numeric Formats tab on the Plot Details dialog box (double-click on the graph, or select Format: Plot from the main menu, or select Plot Details from the right-click menu). Here, you will find controls for the following:
| Format |
Note that if you select one of the decimal formats, Origin uses a threshold for conversion to scientific notation. This threshold is controlled on the Numeric Format tab of the Options dialog box (Tools: Options). |
|---|---|
| Divide by Factor | Divide all the color map and contour levels by some factor. |
| Decimal Places | Specify either Decimal Places or Significant Digits. |
| Significant Digits | |
| Prefix |
Enter a Prefix or a Suffix with which to modify the color map and contour level labels. Prefixes and suffixes display in the graph, but do not display in the level list on the Color Map/Contours tab of the Plot Details dialog box (Format: Plot).
When you enter a prefix or suffix, you can use special formatting commands or escape sequences to modify the style of the text (for example, superscript, subscript, and bold). |
| Suffix |
By default, the color scale displays vertically. To display the color scale horizontally, click on the color scale to select it, and then drag a control handle in the horizontal direction.
.Further adjustments to the way in which the color scale displays -- i.e. the text font, color bar thickness, etc. -- can be made through the Color Scale Control dialog box (see below).
To edit the color scale, open the Color Scale Control dialog box:
or

| Text | Specify the text's Font, Color, Size, and Style (Bold, Italic or Underline). |
|---|---|
| Background | Select the desired background from this drop-down list. |
| Reverse Order | Select this check box to reverse the color map and associated text's level order. |
| Color bar thickness | Set the width of the color scale (% of font point size). |
| Label gap | Set the gap between the color scale and its associated labels (% of font point size). |
| Label side offset | To shift the labels up and down in relation to the color scale, edit the Label side offset combination box. Negative values move the labels up in relation to the color scale, while positive values move the labels down (units are in % of font point size). |
| Labels |
This group is used to set how to show the labels.
|
Display of a customized color scale object can be controlled manually with the \l(CN) switch. In this switch, C must be capitalized, and N is an integer representing a level. The color of the level is the same as the color set in the Color Map/Contours tab of the Plot Details dialog.
To control the color scale manually:
If N is 0, 1, or not specified, the color is black. If N=2, the color for missing values will be shown. If N is larger than 2, the color for the (N-2)th level will be shown. If N is beyond 2 more than the total number of all levels, the color shown on the color scale is out of control.
To create a vertical color scale, enter one \l(CN), then start a new line and enter another \l(CN). Repeat the above operations until all the levels are finished. To eliminate the space between two levels, set Line Spacing in the Text Fonts tab of the Options dialog (Origin menu Tools: Options) to be 0.

To create a horizontal color scale, enter \l(CN) in one line.
