theme_stackplot.Rd
Recommended base theme for stacked gg plots
theme_stackplot()
ggplot2::theme() object
ggplot2::theme()
library(ggplot2) template <- ggplot() + geom_line() + theme_stackplot() ggstackplot( data = mtcars, x = mpg, y = c(wt, qsec, drat), color = c("#E41A1C", "#377EB8", "#4DAF4A"), template = template )