View source: R/ggtheme_light.R
ggtheme_light | R Documentation |
ggplot2
light themertemis ggplot2
light theme
ggtheme_light(
base_size = 14,
base_family = "Helvetica Neue",
base_line_size = base_size/22,
base_rect_size = base_size/22,
axis.text.size.rel = 1,
legend.key.fill = NA,
legend.text.size.rel = 1,
legend.position = "right",
strip.background.fill = "grey85"
)
base_size |
Float: Base font size. Default = 14 |
base_family |
Character: Font family. Default = "Helvetica Neue" |
base_line_size |
Float: Line size. Default = base_size/22 |
base_rect_size |
Float: Size for rect elements. Default = base_size/22 |
axis.text.size.rel |
Float: Relative size for axis text. Default = 1 |
legend.key.fill |
Color: Fill color for legend. Default = NA (no color) |
legend.text.size.rel |
Float: Relative size for legend text. Default = 1 |
legend.position |
Character: Legend position, "top", "bottom", "right", "left" Default = "right" |
strip.background.fill |
Color: Fill color from facet labels. Default = "grey85" |
E.D. Gennatas
## Not run:
(p <- ggplot(iris, aes(Sepal.Length, Petal.Length, color = Species)) +
geom_point() +
ggtheme_light())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.