Workspace 6.21.5
|
Creates a color scale which associates a data range with a continuous color spectrum.
Inputs: | |||
---|---|---|---|
Title | QString | The title text that will appear alongside the color scale when displayed as a legend. | |
Minimum | double | The data value associated with the left-most color in the spectrum. | |
Maximum | double | The data value associated with the right-most color in the spectrum. | |
Spectrum | CSIRO::DataAnalysis::ColorSpectrum | The palette of colors used in this color scale. | |
Orientation | CSIRO::DataAnalysis::ColorScaleImage::Orientation | Specifies how the components of the color scale are arranged visually. | |
Values below right | bool | Indicates that the data values should be displayed either below the spectrum (if oriented horizontally) or to the right of the spectrum (if oriented vertically). | |
Label intermediate values | bool | Whether or not to display the values of intermediate markers on the color scale. | |
Title always horizontal | bool | Always display the title horizontally; even if the scale is oriented vertically. | |
Spectrum length | int | Length of the spectrum in pixels. | |
Spectrum depth | int | Vertical depth of the spectrum in pixels. | |
Number format | CSIRO::DataAnalysis::ColorScaleImage::NumberFormat | Controls how numbers will be displayed alongside the color spectrum. | |
Precision | int | Controls how many decimal places / significant digits are displayed. | |
Text color | QColor | ||
Font | QFont | ||
Display numeric limits | bool | Whether or not to display the min / max values on the color scale. | |
Use log10 scale | bool | Scale is log base 10 | |
Outputs: | |||
Color scale | CSIRO::DataAnalysis::ColorScale | ||
Color scale image | QImage | Image representation of the color scale for use in legends or as an overlay. |