Edit Properties of Plots

In Compose, you can edit the properties of plots created with OML plotting commands.

Edit Colorbar

You can use the Edit Colorbar dialog box to edit the properties of the colorbar.

To edit the colorbar, right-click on the colorbar and then click Edit colorbar.

The dialog box contains three sections:

  • Levels and colors: Properties to setup the levels and colors
  • Legend style: Properties to format the colorbar ticks
  • Colorbar: Preview of the colorbar levels, colors, and tick format.

Levels and colors

The following table contains a description of the properties in this section.

Levels and colors Description
Number of levels Set the number of levels in the colorbar. The maximum number of levels is 500.
Range min The minimum value of the colorbar.
Range max The maximum value of the colorbar.
Scale Select the colorbar scale. Options are Linear, Logarithmic, db10, and db20.
Colormap Select one of the predefined colormaps.
Interpolate values If selected, the colorbar values are interpolated when edited.

Legend style

The following table contains a description of the properties in this section.

Levels and colors Description
Font Select the colorbar tick labels font name.
Font size Select the colorbar tick labels font size.
Numeric format Select the numeric format. Options are Scientific and Fixed Format.
Numeric precision Select the numeric precision of the colorbar ticks.
Location Select the location of the colorbar.
Note:

Changes to the Font style, Font size, and Location are not visible in the colorbar preview.

Colorbar

This section contains a preview of the colorbar. The colors and level values are editable.

To change a color, click on the color icon and select one of the available colors.

To change a level value, click on the value and type the desired one.

If the Interpolate values option is selected and a colorbar value changes (val1), the values between val1 and the colorbar’s min and max values are interpolated. If a second colorbar value changes (val2), then the interpolation is performed on the values between val1 and val2, and between val2 and the colorbar’s min or max value.

For example, in a colorbar with min = 0, max = 10, and 10 levels, the Interpolate values option is selected and the third value is changed to 1. The values between the min and third value and the values between the third value and max have been interpolated. The edited value is in bold

Figure 1. Initial colorbar
Figure 2. Colorbar After Changing the Third Value to 1 with Interpolate Values Enabled

In the following image, the sixth value has been changed to 4, so now the values between the third and sixth value, and the values between the sixth value and max have been interpolated.

If the Interpolate values option is not selected, the values in the colorbar remain the same but any further edits do not trigger an interpolation.