[ top | up ]

HSV Color Specification

Usage

hsv(h=1, s=1, v=1, gamma=1)

Arguments

h,s,v numeric vectors of values in the range [0,1] for ``hue'', ``saturation'' and ``value'' to be combined to form a vector of colors. Values in shorter arguments are recycled.
gamma a ``gamma correction'', see ...

Value

This function creates a vector of ``colors'' corresponding to the given values in HSV space. The values returned by hsv can be used with a col= specification in graphics functions or in par.

See Also

rainbow, rgb, gray.

Examples

hsv(.5,.5,.5)