ggtheme_light: 'rtemis' 'ggplot2' light theme

View source: R/utils_ggplot2.R

ggtheme_lightR Documentation

rtemis ggplot2 light theme

Description

rtemis ggplot2 light theme

Usage

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"
)

Arguments

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.

Value

ggplot2, theme object.

Author(s)

EDG

Examples

## Not run: 
(p <- ggplot(iris, aes(Sepal.Length, Petal.Length, color = Species)) +
  geom_point() +
  ggtheme_light())

## End(Not run)

egenn/rtemis documentation built on June 14, 2025, 11:54 p.m.