dot-gg_set_size_defaults: Set sizes in ggplot uniformly

.gg_set_size_defaultsR Documentation

Set sizes in ggplot uniformly

Description

Set the default sizes of lines, points and fonts in ggplot geoms, and text labels in ggplot axes to get a single consistent look and feel.

Usage

.gg_set_size_defaults(
  lineSize = 0.5,
  fontSizePts = 4 + lineSize * 8,
  font = "Roboto",
  size = lineSize * 2
)

Arguments

lineSize

the width of lines

fontSizePts

the size of labels and other on plot text in pts.

font

the font family name

size

the size of points (the default size aesthetic)

Value

nothing

Examples

gg_set_size_defaults(lineSize = 0.25)

terminological/ggrrr documentation built on June 15, 2024, 6:35 a.m.