getCurrentLimits | R Documentation |
get the values of xlim and/or ylim that created the last plot
getCurrentLimits(
type = "xy",
xaxs = graphics::par("xaxs"),
yaxs = graphics::par("yaxs")
)
type |
one of "x", "y" or "xy", see section "Value" |
xaxs |
value of argument xaxs when calling a plot function last, see
|
yaxs |
value of argument yaxs when calling a plot function last, see
|
type = "x" or "y": vector of two elements corresponding to xlim or ylim, respectively. type = "xy": list with elements xlim and ylim each of which is a vector of two elements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.