View source: R/lehuynh_theme.R
lehuynh_theme | R Documentation |
Le-Huynh's ggplot2 theme: white background, black axis, black text
lehuynh_theme(base_size = 11, base_family = "", ...)
base_size |
Base font size |
base_family |
Base font family |
... |
Passed to |
An object as returned by ggplot2::theme()
ggplot2::theme()
, ggplot2::theme_bw()
library(ggplot2)
fig <- ggplot(mtcars, aes(y = mpg, x = disp)) +
geom_point(aes(colour = factor(cyl)))
fig
fig + lehuynh_theme()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.