Learn R Programming

ggblanket (version 10.0.0)

weave_geom_defaults: Set a series of geom defaults

Description

Update all geom defaults.

Usage

weave_geom_defaults(
  colour = "#357BA2FF",
  colour_text = "#121B24FF",
  colour_label = colour_text,
  colour_reference_line = colour_text,
  colour_curve = colour_reference_line,
  fill = colour,
  fill_label = colour_label,
  alpha = 1,
  alpha_area = 0.9,
  alpha_bar = 0.9,
  alpha_boxplot = 0.6,
  alpha_crossbar = 0.6,
  alpha_density = 0.6,
  alpha_label = 0.05,
  alpha_polygon = 0.9,
  alpha_rect = 0.9,
  alpha_ribbon = 0.6,
  alpha_smooth = 0.6,
  alpha_tile = 0.9,
  alpha_violin = 0.9,
  alpha_recursive = NULL,
  linewidth = 0.66,
  linewidth_reference_line = 0.33,
  linewidth_curve = linewidth_reference_line,
  size_point = 1.5,
  size_pointrange = 0.2,
  size_sf = 1.5,
  size_text = 11/2.835052,
  size_label = size_text,
  family_text = "",
  family_label = family_text
)

Arguments

colour

A default hex colour for the colour of geoms without a more specific colour_* argument.

colour_text

A default hex colour for the colour of the "text" geom.

colour_label

A default hex colour for the colour of the "label" geom.

colour_reference_line

A default hex colour for the colour of the "hline", "vline" and "abline" geoms.

colour_curve

A default hex colour for the colour of the "curve" geom.

fill

A default hex colour for the fill of geoms without a more specific fill_* argument.

fill_label

A default hex colour for the fill of the "label" geom.

alpha

A default alpha for geoms without a more specific alpha_* argument.

alpha_area

A default alpha for the "area" geom.

alpha_bar

A default alpha for the "bar" geom.

alpha_boxplot

A default alpha for the "boxplot" geom.

alpha_crossbar

A default alpha for the "crossbar" geom.

alpha_density

A default alpha for the "density" geom.

alpha_label

A default alpha for the "label" geom.

alpha_polygon

A default alpha for the "polygon" geom.

alpha_rect

A default alpha for the "rect" geom.

alpha_ribbon

A default alpha for the "ribbon" geom.

alpha_smooth

A default alpha for the "smooth" geom.

alpha_tile

A default alpha for the "tile" geom.

alpha_violin

A default alpha for the "violin" geom.

alpha_recursive

A default alpha applied to all geoms.

linewidth

A default linewidth for geoms.

linewidth_reference_line

A default linewidth for the the "hline", "vline" and "abline" geoms.

linewidth_curve

A default linewidth for the the "curve" geom.

size_point

A default size for the "point" geom.

size_pointrange

A default size for the "pointrange" geom.

size_sf

A default size for the "sf" geom.

size_text

A default size for the "text" geom.

size_label

A default size for the "label" geom.

family_text

A default family for the "text" geom.

family_label

A default family for the "text" geom.