To align continuous axes, it is important to keep the limits consistent
across all plots in the layout. You can set the limits by passing a function
directly to the limits
or xlim
/ylim
argument, using ...
only.
Alternatively, you can add a continuous_limits()
object to the layout. For
the quad_layout()
function, you must specify x
/y
arguments. For other
layouts, you should pass the limits using ...
directly.
continuous_limits(..., x = waiver(), y = waiver())
A list of two numeric values, specifying the left/lower limit and the right/upper limit of the scale.
Same as ...
, but specifically for quad_layout()
.