theme_2dii | R Documentation |
A ggplot theme which can be applied to all graphs to appear according to 2DII plotting aesthetics.
theme_2dii(
base_size = 12,
base_family = "Helvetica",
base_line_size = base_size/22,
base_rect_size = base_size/22
)
base_size |
base font size, given in pts. |
base_family |
base font family |
base_line_size |
base size for line elements |
base_rect_size |
base size for rect elements |
An object of class "theme", "gg".
ggplot2::theme_classic.
library(ggplot2, warn.conflicts = FALSE)
ggplot(mtcars) +
geom_histogram(aes(mpg), bins = 10) +
theme_2dii()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.