Skip to contents

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.

Author

EDG

Examples

if (FALSE) { # \dontrun{
(p <- ggplot(iris, aes(Sepal.Length, Petal.Length, color = Species)) +
  geom_point() +
  ggtheme_light())
} # }