Description Usage Arguments Value Examples
View source: R/ggplot2_themes.R
A ggplot theme to fit rmdformats::readthedown
in terms of background color and
dark grid lines.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | theme_readthedown(
base_size = 12,
base_family = "",
bg = "#fcfcfc",
axis_emph = "xy",
...
)
theme_tadaa(
base_size = 12,
base_family = "",
bg = "#fcfcfc",
axis_emph = "xy",
...
)
|
base_size |
Base text size, defaults to |
base_family |
Base text family. Use |
bg |
Background color, defaults to |
axis_emph |
Which axis to emphasize visually (black lines). One of |
... |
Other arguments passed to |
A ggplot2 theme
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(ggplot2)
p <- ggplot(ngo, aes(x = stunzahl)) +
geom_bar()
p + theme_readthedown()
p + theme_readthedown(base_family = "Lato")
p + theme_readthedown(base_family = "Roboto Condensed", axis_emph = "x")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.