ggthemes (version 3.3.0)

theme_excel: ggplot color theme based on old Excel plots

Description

Theme to replicate the ugly monstrosity that was the old gray-background Excel chart. Please never use this.

Usage

theme_excel(base_size = 12, base_family = "", horizontal = TRUE)

Arguments

base_size
base font size
base_family
base font family
horizontal
logical. Horizontal axis lines?

Value

An object of class theme.

Examples

Run this code
library("ggplot2")
# Old line color
p <- ggplot(mtcars) +
     geom_point(aes(x = wt, y = mpg, colour=factor(gear))) +
     facet_wrap(~am)
p + theme_excel() + scale_colour_excel()

# Old fill color palette
ggplot(mpg, aes(x = class, fill = drv)) +
  geom_bar() +
  scale_fill_excel('fill') +
  theme_excel()

Run the code above in your browser using DataLab