Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

create_map_coloring

create_map_coloring
-name s_coloringName 
-type {HSV 
          [[ -startHue i_0to360 ][ -stopHue i_0to360 ] 
           [ -startSaturation i_0to255 ][ -stopSaturation i_0to255 ] 
           [ -startLuminance i_0to255 ][ -stopLuminance i_0to255 ] 
           [ -startValue f_value ][ -stopValue f_value ] ] 
     | threshold 
           [ -ranges {{f_startValue f_stopValue i_red i_green i_blue}} ]} 

Description

Creates map colorings to use when displaying color maps. Two types of color mapping are available: HSV and threshold.

Arguments

-name s_coloringName

Specifies the name for the map coloring.

-ranges {{f_startValue f_stopValue i_red i_green i_blue}}

(For -type threshold) Specifies the coloring to use for a range of values. You must specify all five values for each range. One or more groupings of ranges can be given with the following five values in order:

f_startValue

Specifies the start value for the range.

f_stopValue

Specifies the stop value for the range.

i_red

Specifies the red component for the color. This value must be in the range of 0 to 255.

i_green

Specifies the green component for the color. This value must be in the range of 0 to 255.

i_blue

Specifies the blue component for the color. This value must be in the range of 0 to 255.

-startHue i_0to360

(HSV) Used with stopHue to specify the range of colors for the data values. This value must be in the range of 0 to 360 and represents a color of the color wheel that begins with red (0), migrates through yellows, greens, blues, magenta and back to red (360). The default value is 240 (blue).

-startLuminance i_0to255

(HSV) Used with stopLuminance to specify the range of brightness for the range of data values. Legal values are 0 to 255. The default value is 125.

-startSaturation i_0to255

(HSV) Used with stopSaturation to specify the range of color intensity for the range of data values. Legal values are 0 to 255. The default value is 255.

-startValue f_value

(HSV) Used with stopValue to specify the range of data values to color. If this value is not given, the computed minimum value for the data is used.

-stopHue i_0to360

(HSV) Used with startHue to specify the range of colors for the range of data values. Legal values are 0 to 360. The default value is 0.

-stopLuminance i_0to255

(HSV type) Used with startLuminance to specify the range of brightness for the range of data values. Legal values are 0 to 255. The default value is 125. The default value is 125.

-stopSaturation i_0to255

(HSV type) Used with startSaturation to specify the range of saturation for the range of data values. Legal values are 0 to 255. The default value is 255.

-stopValue f_value

(HSV) Used with startValue to specify the range of data values to color. If this value is not given, the computed maximum value for the data is used.

-type {HSV|threshold}

Specifies the type of color mapping to use.

HSV

Represents coloring as a continuous change of hue, saturation and luminance (or brightness) as the data value increases.

threshold

Assigns a color (given by red, green and blue components) for a range of data values. For more color detail, a greater number of ranges must be specified.

Examples

Two color maps, thermalMap and thermalMapBands, are predefined. The following examples illustrate how these would be set using create_map_coloring.

Related Topics

Color Map Display Commands

display_color_map


Return to top
 ⠀
X