redraw: Redraw an object

Description Usage Arguments Details Value Examples

Description

redraw method redraws an object to make sure its visual representation reflects its internal state.

Usage

1
redraw(x, ...)

Arguments

x

object to redraw

...

optional arguments

Details

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.

Value

x possibly (but not commonly) modified to reflect its current state.

Examples

1
2
3
4
5
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)

att/iplots documentation built on May 10, 2019, 2:12 p.m.