*ColorRGB()

Indicates the RGB values of the contour legend colors.

Syntax

*ColorRGB (list, red_value, green_value, blue_value)

Application

HyperView

Inputs

list
A list of the 27 RGB values of the legend.
red_value
An integer between 0 and 255 that indicates the value of the red component of a color band displayed in the legend.
green_value
An integer between 0 and 255 that indicates the value of the green component of a color band displayed in the legend.
blue_value
An integer between 0 and 255 that indicates the value of the blue component of a color band displayed in the legend.

Context

*BeginContour()

*BeginTensor()

*BeginVector()

Example

*BeginContour()
• • •
  *ColorRGB(0, 0, 200, 
            21, 121, 255, 
            0, 199, 221, 
            40, 255, 185, 
            57, 255, 0, 
            170, 255, 0, 
            255, 227, 0, 
            255, 113, 0, 
            255, 0, 0)
• • •
*EndContour()

Comments

The list of values is used to display the contoured results.

This statement applies to the Contour, Tensor, and Vector panels in HyperView.

The number of parameters is three times the number of color bands in the legend as there are three components for each displayed color.

The first three parameters correspond to the color band at the 0 index; the second three parameters correspond to the color band at the first index, and so on. The colors are numbered starting from the bottom of the legend to the top and from the left of the legend to the right.

This statement must be preceded by *NumCols().