theme_bw_cl | R Documentation |
theme_bw
and theme_cowplot
that works well with facetsModified version of theme_bw
and theme_cowplot
for
publication quality graph creation that works well with facets
theme_bw_cl(font.size = 11)
font.size |
the main font size for the graph. Equivalent to
the |
library(ggplot2) data(mtcars) ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point(aes(color = hp)) + facet_grid(rows = vars(cyl)) + theme_bw_cl() + labs(title = "Graph title", subtitle = "Graph Subtitle", caption = "Graph caption")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.