ggtheme_light: 'rtemis' 'ggplot2' light theme

View source: R/ggtheme_light.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. 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"

Author(s)

E.D. Gennatas

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 Oct. 28, 2024, 6:30 a.m.