Displaying 1 result from an estimated 1 matches for "tp21579096p21579234".
2009 Jan 21
1
Can I add a point to a pointsGrob from an xyplot without redrawing ?
Hi:
I am a newbie using grid and lattice.
I want to update a xyplot without redrawing and I was wondering if there is
a way of adding a point to a pointsGrob ?
For example, take the example from the "R Graphics Book" page 218-219:
grid.newpage()
angle <- seq(0, 2*pi, length=21)[-21]
x <- cos(angle)
y <- sin(angle)
xyplot( y ~ x, aspect = 1)
Lets say I take the pointsGrob