[ top | up ]

Gray Level Specification

Syntax

gray(level)

Value

This function creates ``colors'' corresponding to the given level or gray. The level must lie between zero and one, with zero indicating "black" and one indicating "white".

The values returned by gray can be used with a col= specification in graphics functions or in par.

See Also

rainbow, hsv, rgb.