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

idot/idoplots documentation built on June 6, 2019, 7:57 a.m.