HyperWorks Desktop

*ColorRGB()

Indicates the RGB values of the contour legend colors.

*ColorRGB()

Indicates the RGB values of the contour legend colors.

Previous topic Next topic No expanding text in this topic  

*ColorRGB()

Indicates the RGB values of the contour legend colors.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*ColorRGB(list red_value, green_value, blue_value)

Arguments

Name

Description

 

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.

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()

Application

HyperView

Context

*BeginContour()

*BeginTensor()

*BeginVector()

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().

See also

 

*BeginLegend() - HyperView

*EndLegend()- HyperView

*FooterFont()

*FooterText()

*HeaderFont()

*HeaderText()

*LegendPosition()

*LegendType()

*MinMax()

*NoResultColor()

*Numbers()

*NumbersFont()

*NumCols()

*ShowMax()

*ShowMaxLocal()

*ShowMin()

*ShowMinLocal()

*Title()

*TitleFont()

List of Session Statements