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)

ssayols/rrvgo documentation built on Nov. 6, 2024, 9:32 a.m.