View source: R/message_senders.R
zoom | R Documentation |
This function zooms into a rectangular area of the specified plot. The coordinates of the rectangular area can be specified with either percentages of the plotting region, absolute coordinates (pixels), or data coordinates.
zoom(x, id = NULL, coords = NULL, units = "pct")
x |
A plotscaper scene or schema |
id |
A string id of the plot. See id |
coords |
The coordinates of a rectangle to
zoom into, in the following order: |
units |
The units with which to interpret the coordinates. Can be "pct" (percentages of the plotting region), "abs" (absolute screen coordinates, in pixels), or "data" (data coordinates; only works if both scales are continuous). |
The scene or schema back
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.