gg_color_hue: gg_color_hue Emulate ggplot2 color palette.

Description Usage Arguments Details Value Examples

View source: R/plotlib.R

Description

gg_color_hue Emulate ggplot2 color palette.

Usage

1

Arguments

n

number of colors

Details

It is just equally spaced hues around the color wheel, starting from 15:

Value

a vector with colors (alphanumeric)

Examples

1
2
3
4
## Not run: 
plot(1:10, pch=16, cex=2, col=gg_color_hue(10))

## End(Not run)

rrvgo documentation built on Nov. 8, 2020, 6:17 p.m.