Description Usage Arguments Examples
Similar to vmisc::theme_vmisc()
, but colors match Beamer's Madrid theme
with the default color scheme, and sizes are adjusted.
1 | theme_beamer(base_size = 8, base_family = "Helvetica", ...)
|
base_size |
Text size (defaults to 8). |
base_family |
Text font family (defaults to Helvetica). |
... |
Passed to |
1 2 3 4 5 | library(ggplot2)
library(vmisc)
p <- ggplot(mtcars, aes(x = mpg, y = wt)) +
geom_point()
p + theme_beamer()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.