active {ggalign} | R Documentation |
Plot Adding Context Settings
Description
These settings control the behavior of the plot when added to a layout, as well as the arrangement of individual plot areas within the layout.
Usage
active(order = waiver(), use = waiver(), name = waiver())
Arguments
order |
An integer specifying the order of the plot area within the layout. |
use |
A logical ( |
name |
A string specifying the plot's name, useful for switching active
contexts through the |
Details
By default, the active context is set only for functions that add plot areas.
This allows other ggplot2
elements-such as geoms
, stats
, scales
, or
themes
- to be seamlessly added to the current plot area.
The default ordering of the plot areas is from top to bottom or from left to
right, depending on the layout orientation. However, users can customize this
order using the order
argument.