layout_expand {ggalign} | R Documentation |
Set Expansion for the Layout
Description
To align axes, it is important to keep the expansion consistent across all
plots in the layout. You can add a layout_expand
object to the layout. For
the quad_layout()
function, you must specify x
and y
arguments. For
other layouts, you can pass the expansion values using ...
directly.
Usage
layout_expand(..., x = waiver(), y = waiver())
Arguments
... |
A list of range expansion constants, used to add padding around
the data to ensure they are placed some distance away from the axes. Use the
convenience function |
x , y |
Same as |
[Package ggalign version 1.0.2 Index]