smallPlot | R Documentation |
Inset plot with margins, background and border (based on: https://github.com/cran/berryFunctions/blob/master/R/smallPlot.R)
smallPlot(
expr,
x = c(5, 70),
y = c(50, 100),
x1,
y1,
x2,
y2,
mar = c(12, 14, 3, 3),
mgp = c(1.8, 0.8, 0),
bg = par("bg"),
border = par("fg"),
las = 1,
resetfocus = TRUE,
...
)
parameters of small plot, invisible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.