ColorScale_dialogΒΆ
ColorScale_dialog displays a dialog box to select a color scale.
-
ssColorScale = ColorScale_dialog(ssColorScale, nColor)
Return Value
oColor is an object with the elements ssColorScaleName and rmColor. If the Cancel button was selected, the real value 0 is returned.
oColor.ssColorScaleName contains the selected color scale name and oColor.rmColor is a real matrix with three columns, containing the RGB values of the selected color scale.
Parameters
-
ssColorScale
ssColorScale is a color scale name to initialize the dialog box or an empty string.
Parameters
-
nColor
nColor is the number of colors returned in the element oColor.rmColor. If nColor is 1, 12 colors will be displayed in the combo box. If the number of colors is greater than 12, only 12 colors will be displayed.
List of color maps:
id-1002797