File: circular.colors.Rd

package info (click to toggle)
r-cran-circular 0.4-93-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,492 kB
  • sloc: ansic: 463; fortran: 69; sh: 13; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\name{circular.colors}
\alias{circular.colors}

\title{
Color Palettes for Circular
}

\description{
Create a vector of \code{n} contiguous colors.
}

\usage{
circular.colors(n, m = 0, M = 2 * pi, offset = 0, ...)
}

\arguments{
  \item{n}{the number of colors (>= 1) to be in the palette.}
  \item{m}{the smallest angle in radians.}
  \item{M}{the largest angle in radians.}
  \item{offset}{the zero in radians.}
  \item{\dots}{further arguments passed to the function \code{\link{hsv}}.}
}

\value{
  a vector of length \code{n}.
}

\author{
  Claudio Agostinelli
}

\seealso{
  \code{\link{hsv}}, \code{\link{colors}}
}

\examples{
  circular.colors(n=10, m=0, M=2*pi)
}

\keyword{color}