scale_colour_excel_new | R Documentation |
Discrete color scales used in current versions of Microsoft Office and Excel.
scale_colour_excel_new(theme = "Office Theme", ...)
scale_color_excel_new(theme = "Office Theme", ...)
scale_fill_excel_new(theme = "Office Theme", ...)
theme |
The name of the Office theme or color theme (not to be confused with ggplot2 themes) from which to derive the color palette. Available themes include: \Sexpr[results=rd]{ggthemes:::rd_optlist(names(ggthemes::ggthemes_data$excel$themes))} |
... |
Arguments passed on to
|
Other colour excel:
excel_new_pal()
,
excel_pal()
,
scale_fill_excel()
library("ggplot2")
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
facet_wrap(~am)
p + theme_excel_new() + scale_colour_excel_new()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.