discrete_fill: discrete palette for fill aesthetic

Description Usage Value Examples

View source: R/colors.R

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,fill=x)) + ggplot2::geom_bar(stat="identity") + discrete_fill()

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