redraw {Acinonyx}R Documentation

Redraw an object

Description

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

Usage

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

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)

[Package Acinonyx version 3.0-0 Index]