gg_color_hue: gg_color_hue Emulate ggplot2 color palette.

View source: R/plotlib.R

gg_color_hueR Documentation

gg_color_hue Emulate ggplot2 color palette.

Description

gg_color_hue Emulate ggplot2 color palette.

Usage

gg_color_hue(n)

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

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

## End(Not run)

imbforge/rrvgo documentation built on Oct. 24, 2024, 12:18 a.m.