theme_gdocs | R Documentation |
Theme similar to the default look of charts in Google Docs.
theme_gdocs(base_size = 12, base_family = "sans")
base_size |
base font size, given in pts. |
base_family |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.