redraw | R Documentation |
redraw
method redraws an object to make sure its visual
representation reflects its internal state.
redraw(x, ...)
x |
object to redraw |
... |
optional arguments |
Most object perform redraws implicitly, but sometimes is it more efficient to add or modify multiple objects without redrawing and issue a redraw at the end of such an operation.
x
possibly (but not commonly) modified to reflect its current
state.
c = icontainer(frame=c(0, 0, 400, 300)) p = iplot(rnorm(100), rnorm(100), "x", "y", window=FALSE) # add the plot to the container and redraw the container redraw(c + p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.