The color scale is a specialized label object that displays a color map and its scale. Color Scale in Origin 2018b is improved to be more flexible and customizable.

In the last two cases, color scale will not added automatically when the graph is created (see Adding an independent color scale, below).
There are Mini Toolbars dedicated to legend and color scale customization. Available buttons will vary by plot/legend type. To display the toolbar, click to select the legend or color scale object. |
or
or
| Note: if the graph has multiple plot properties mapping to different color palette/increment lists, you can select these menu commands/the toolbar button several times to add multiple color scales until all color mapped properties are displayed. |
This dialog can be opened by double clicking on the color scale object or right clicking and choosing Properties. It is used to control and customize the style of the color scale. It is designed with tree node structure, so in order to do customization, first select a desired page in the left panel, and then change the settings on the right panel.
This page decides whether the color scale depends on a plot property or not.
| Map |
Specify whether the color scale depends on a plot/group property or independent from the data plot.
|
|---|---|
| Show Major Levels Only |
This is only available whenplot/group list in current layer is chosen for Map. It is used to specify only show the color of all major levels in the color scale. When select this option, Show Levels within Range will be All Major Levels in the Levels tab. |
| Fill |
This is only available when None is chosen for Map. Click the trianle button and select a color palette or increment list to display. Pressing CTRL and clicking a palette/color list will open that palette/color list in the Increment Editor dialog. You can add, delete, reorder, or change colors in this dialog. Refer to this page for details. |
If you want to add an independent color scale in a graph that has plots mapping to a palette or color list, run LabTalk command: spectrum -i;
in the Script Window. |
This page is designed to determine how to show the color scale levels.
| Hide Head Level |
This is only available when a data plot is chosen for Map on Fill page. Specify whether to hide the head level in the color scale. The head level is for the color map values which are less than the selected color scale range. |
|---|---|
| Hide Tail Level |
This is only available when a data plot is chosen for Map on Fill page. Specify whether to hide the tail level in the color scale. The tail level is for the color map values which are greater the selected color scale range. |
| Show Levels within Range |
Check this check box, you will be able to set a range to show a partial color scale. Only the levels within this range will show up with specified labels. By default, the Minimum and Maximum box shows the level value of min and max levels, which means all major levels in whole color scale will show up with specified labels. |
| Show Major Ticks on |
Specify which levels you want to show the labels of color scale level, from the drop-down list:
|
| One Major Tick Per Levels |
This is only available when Partial Total Levels is chosen for Show on. It is used to specify the number of levels in between two adjacent displayed major ticks. Note that the value used cannot exceed the number of major levels in the color map, and the first and last major levels will always be shown. |
| From |
This is only available when Custom Levels is chosen for Show on. Specifies the start value for the color scale. |
| To |
This is only available when Custom Levels is chosen for Show on. Specifies the end value for the color scale. |
| Type |
This is only available when Custom Levels is chosen for Show on. Specifies the scale type for color scale. You may refer to the help file of Scale in Axis Dialog for a detailed description on all options in this drop-down menu. |
| Major Ticks |
This is only available when Custom Levels is chosen for Show on. Specifies the major tick positions for color scale. You may refer to the help file of Scale in Axis Dialog for a detailed description on all controls under this tree node. |
| Minor Ticks |
Specifies the minor tick positions for color scale. You may refer to the help file of Scale in Axis Dialog for a detailed description on all controls under this tree node. |
The controls in this page are used to customize the display and format of the color scale level labels.
| Label Form | Specify which label form to be used to indicate levels:
|
|---|
The Auto check box is only available when a data plot is chosen for Map on Fill page. If this check box is selected, the display of color scale level labels will follow the numeric format settings in the Contour Labels tab of the Plot Details dialog.
If the Auto check box is not selected, the display of color scale level labels can be customized using the other controls under this Display tree node, and you can refer to the Display sub-tab of Tick Labels tab in Axis Dialog for a detailed description on those controls.
| Color |
Select the desired color for the color scale level labels from this drop-down list. Create custom colors by clicking a blank color well under Custom and specifying the RGB in the Color dialog that opens. If it is set to Auto, the color scale label will follow the colormap color. |
|---|---|
| Rotate (deg.) |
Origin supports arbitrary rotation of color scale labels. Type a positive number in this text box to rotate labels counterclockwise, and a negative number to rotate labels clockwise (Origin will change the typed negative number into the corresponding positive number counterclockwise). The <auto> option means that the color scale labels will rotate according to the direction of color scale object, means labels will always be perpendicular with the color scale object. |
| Wrap Text |
This is used to specify whether to wrap the text in color scale labels to avoid overlapping. Note that text will only be wrapped at the white space in between each word. |
| Position |
Choose from drop-down list of three options on how should the color scale labels align with their corresponding color scale levels.
|
| Alignment |
Specify how to align the color scale labels. It has the same alignment rule as the axis tick label. Note: When the Color Scale is arranged horizontally, the alignment will follow bottom/top axis tick label. |
| Font |
Under this tree node, you can find controls to specify the Font, Size, and Style (Bold, Italic or Underline) of the text. |
This page is used to determine the layout of the color scale, e.g. orientation, offsets, background.etc.
| Background | Specify the background style for the color scale:
| |||
|---|---|---|---|---|
| Layout | This option specifies how to display the levels of a color scale. Two layouts are available:
| |||
| Arrangement | Specify the orientation of the color scale object.
| |||
| Reverse Order | Select this check box to reverse the color map and associated labels. | |||
| Show Labels on Opposite Side | Select this check box to show the color scale labels at the opposite side. | |||
| Show Head and Tail as Triangle | Select this check box to show the head and tail pf color scale as triangle. This control is only available when Layout = Joined, and at least one of Head and Tail level shows.
Select this checkbox to show Triangle Height under Color Bar Thickness. The default value is 0. | |||
| Show Labels on | Only available when the Show Major Ticks on drop-down list has been set to Min and Max Levels; if the Show Major Ticks on drop-down list has been set to one of other items, the Show Labels on Opposite Side check box will show up instead.
Select a arrangement direction from the drop-down list to show the labels for the minimum and maximum of the color levels.
| |||
| Follow Graph's Standard Font Size Setting | Select this checkbox to convert the font size of color scale to universally standard font size. | |||
| Gap between Symbols | Only available when Layout is set to Separated. Specify the gap between each two color blocks in unit of % of current color scale label font height. | |||
| Size and Label Offset (in % of font height) |
The controls under this tree node are used to specify the size and offset of the color scale. All the settings are based on the unit in % of current color scale label font height.
| |||
| Position |
|
This page is used to control the color scale title.
| Show | Determine whether to show the color scale title. |
|---|---|
| Title | Type the text to be used in the color scale title. By default the syntax is %(?R, @options), in which ?R refers to the data set (column or Z value of a matrix) for color mapping, and @option determines which meta data to be used. For details, refer to legend text substitution notation. |
| Position |
Select the position of the color scale title from the drop-down list. |
| Rotate | Origin supports arbitrary rotation of the title.
|
| Color | Select a title text color from this drop-down list. |
| Font |
Under this tree node, you can find controls to specify the Font, Size, and Style (Bold, Italic or Underline) of the text. |
In the page of the first level of this tree node, you can determine how the line and ticks around the color scale object are displayed.
For Horizontal arrangement:
| Use Same Options for Left and Right | Check this box to use the same line and ticks options for both left and right lines. When the check box is checked, Show Line and Ticks on Left is unavailable. The corresponding Top sub-branch is also unavailable. You only need to customize the Right part and the settings will be applied to the Left. |
|---|---|
| Show Line and Ticks on Right | Select this check box to display line and ticks on the right. To hide line and ticks, clear this box. |
| Show Line and Ticks on Left | Select this check box to display line and ticks on the left. To hide line and ticks, clear this box. |
| Show Border | Select this checkbox to display borders around the color blocks. To hide borders, clear this box. |
| Border Color | Only useful when Show Border is selected, and choose the color of border in this drop-down color list. |
| Border Thickness | Only useful when Show Border is selected, and select or type in the border thickness in the combo box. |
For Vertical arrangement, Right will become Bottom and Left will become Top.
You can further customize the styles of the line and ticks which will be displayed around the color scale object.
| Line |
|
|---|---|
| Major Ticks |
|
| Minor Ticks |
|
For any graph in which color values are mapped to data values, a color scale is the default legend.
You can add a color scale to a graph or layout window, that is completely independent of any plotted data:

See more related videos: Add Color Scale in Graph |
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.