| theme_xkcd | R Documentation |
This function creates an XKCD theme, applying the 'xkcd' font if available.
theme_xkcd()
A theme object.
The "xkcd" font must be installed and registered with extrafont for the
full effect. See the vignette vignette("xkcd-intro") for installation instructions.
## Not run:
# Assuming 'xkcd' font is installed and registered:
p <- ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
theme_xkcd()
p
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.