Learn R Programming

circular (version 0.5-1)

circular.colors: Color Palettes for Circular

Description

Create a vector of n contiguous colors.

Usage

circular.colors(n, m = 0, M = 2 * pi, offset = 0, ...)

Value

a vector of length n.

Arguments

n

the number of colors (>= 1) to be in the palette.

m

the smallest angle in radians.

M

the largest angle in radians.

offset

the zero in radians.

...

further arguments passed to the function hsv.

Author

Claudio Agostinelli

See Also

Examples

Run this code
  circular.colors(n=10, m=0, M=2*pi)

Run the code above in your browser using DataLab