[ top | up ]

Gray Level Specification

Syntax

gray(level)

Description

This function creates ``colors'' corresponding to the given level or gray. (the level must lie between zero and one).

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

See Also

rainbow, hsv, rgb.