ggpLayerZoom | R Documentation |
Sets the limits on the x- and y-axis of a ggplot based on manual input.
ggpLayerZoom(
object = NULL,
xrange = NULL,
yrange = NULL,
expand_x = c(0, 0),
expand_y = c(0, 0),
round = 2,
n_breaks = 5
)
object |
An object of class |
xrange , yrange |
Vector of length two. Specifies the x- and y-range
of zooming. E.g. This argument works within the |
expand_x , expand_y |
Given to See details and examples of |
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.