orb_labs: Axis, legend and plot labels

View source: R/spec.R

orb_labsR Documentation

Axis, legend and plot labels

Description

Axis, legend and plot labels

Usage

orb_labs(
  title = NULL,
  subtitle = NULL,
  x = NULL,
  y = NULL,
  colour = NULL,
  fill = NULL,
  size = NULL,
  caption = NULL
)

Arguments

title

Plot title.

subtitle

Plot subtitle.

x, y

Axis titles.

colour, fill, size

Legend titles for those channels.

caption

Caption shown under the plot.

Value

An object of class orb_labs, to be added to a plot.

Examples

orb(mtcars, x = wt, y = mpg) + orb_points() +
  orb_labs(title = "Fuel use", x = "Weight", y = "Miles per gallon")

orbis documentation built on Aug. 5, 2026, 9:08 a.m.