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/RVGO documentation built on Nov. 10, 2024, 2:35 p.m.