
Theme similar to the default look of charts in Google Docs.
theme_gdocs(base_size = 12, base_family = "sans")
base font size, given in pts.
base font family
library("ggplot2")
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
facet_wrap(~am)
p + theme_gdocs() + scale_color_gdocs()
Run the code above in your browser using DataLab