| layout_expand | R Documentation |
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.
layout_expand(..., x = waiver(), y = waiver())
... |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.