NhlSetColor

The function is used to allocate new workstation color indexes. (See NhlSetColor)


Synopsis

	function NhlSetColor( 
		workstations[*]:graphic,
		ci[*]:integer,
		red[*]:float,
		green[*]:float,
		blue[*]:float
	)

Arguments

workstations
One or more HLU workstation references.
ci
Array of integer color indexes between 0 and 255. Must be dimensioned the same as red, blue, and green.
red
Array of floating-point values between 0 and 1 inclusive. Must be dimensioned the same as green and blue.
green
Array of floating-point values between 0 and 1 inclusive. Must be dimensioned the same as red and blue.
blue
Array of floating-point values between 0 and 1 inclusive. Must be dimensioned the same as green and red.

Description

For each workstation, the color indexes in ci are set to the corresponding rgb triplets.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.9 $ $Date: 1998/06/15 21:28:51 $