discrete_color: discrete palette for colour aesthetic

Description Usage Value Examples

Description

n <= 9: RColorBrewer Set1
n > 9: hues "I want hue"

Usage

1

Value

discrete scale

Examples

1
ggplot2::ggplot(data.frame(x=c("A","B","C"),y=1:3), ggplot2::aes(x=x,y=y,colour=x)) + ggplot2::geom_point() + discrete_colour()

idot/idoplots documentation built on Oct. 25, 2018, 11:41 p.m.