circular.colors: Color Palettes for Circular

Description Usage Arguments Value Author(s) See Also Examples

View source: R/circular.colors.R

Description

Create a vector of n contiguous colors.

Usage

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

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.

Value

a vector of length n.

Author(s)

Claudio Agostinelli

See Also

hsv, colors

Examples

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

Example output

Attaching package: 'circular'

The following objects are masked from 'package:stats':

    sd, var

 [1] "#FF0000" "#FFAA00" "#AAFF00" "#00FF00" "#00FFAA" "#00AAFF" "#0000FF"
 [8] "#AA00FF" "#FF00AA" "#FF0000"

circular documentation built on May 1, 2019, 7:57 p.m.