plot_add_scheme: Apply a Scheme to a plot

plot_add_schemeR Documentation

Apply a Scheme to a plot

Description

plot_add_scheme() is a generic used to apply a Scheme (or a Schemes container) to a plot object. This allows schemes to update or modify the plot's appearance or behavior according to their configuration.

Usage

plot_add_scheme(plot, scheme, ...)

Arguments

plot

A plot object, typically a ggplot.

scheme

A Scheme or Schemes object to apply.

...

Additional arguments passed to specific methods.

Details

By default When a Schemes object is passed, each individual Scheme is applied in sequence via its respective plot_add_scheme() method.

Value

The modified plot object.


ggalign documentation built on Nov. 5, 2025, 7:16 p.m.