inst/examples/ex-scale_colour_excel_classic.R

library("ggplot2")

ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
  geom_point() +
  ggtitle("Cars") +
  theme_excel() +
  scale_colour_excel()

ggplot(diamonds, aes(x = clarity, fill = cut)) +
  geom_bar() +
  scale_fill_excel() +
  theme_excel()
jrnold/ggthemes documentation built on Feb. 17, 2024, 7:30 a.m.