hsv_palette

0th

Percentile

Sequential color palette based on HSV colors

Computes a sequential color palette based on HSV colors by varying the saturation, given hue and value.

Keywords
hplot
Usage
hsv_palette(h = 2/3, from = 0.7, to = 0.2, v = 1)
Arguments
h

hue

from

lower bound for saturation

to

upper bound for saturation

v

value

Value

A function with one argument: the size of the palette, i.e., the number of colors.

See Also

hsv

Aliases
  • hsv_palette
Examples
# NOT RUN {
pie(rep(1, 10), col = hsv_palette()(10))
pie(rep(1, 10), col = hsv_palette(h = 0)(10))
# }
Documentation reproduced from package e1071, version 1.7-3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.