This is an archived page, please click here to view the latest updates.
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.
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 in the Plot Details dialog box (double-click on the graph, or with the graph active select Format: Plot Properties from the main menu, or right-click on the graph and select Plot Details from the context menu). Here, you will find controls for the following:
Note that if you select one of the decimal formats, Origin uses a threshold when converting to scientific notation. This threshold is controlled in 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.|
|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 Properties).
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).
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:
|Text||Specify the Font, Color, Size, and Style (Bold, Italic or Underline) of the text.|
|Background||Select the desired background from this drop-down list.|
|Reverse Order||Select this check box to reverse the color map and associated level order text.|
|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 2 more than the total number of levels, the color shown will be black.
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 levels are included. 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 all \l(CN) characters in one line.