View source: R/utils_ggplot2.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. |
base_family |
Character: Font family. |
base_line_size |
Float: Line size. |
base_rect_size |
Float: Size for rect elements. |
axis_text_size_rel |
Float: Relative size for axis text. |
legend_key_fill |
Color: Fill color for legend. |
legend_text_size_rel |
Float: Relative size for legend text. |
legend_position |
Character: Legend position, "top", "bottom", "right", "left" Default = "right" |
strip_background_fill |
Color: Fill color from facet labels. |
ggplot2
, theme
object.
EDG
## 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.