Skip to content
Prev 8981 / 15075 Next

clearing plot / over plotting of points

Jochen,
On Apr 30, 2012, at 8:40 AM, jochen laubrock wrote:

            
Yes, you may want to read up on "anti-aliasing". You can disable anti-aliasing (with antialias=F) but you get very ugly plots.
You presume wrongly - it is in fact less efficient to try to erase a plot by painting over it and re-drawing a new one as opposed to drawing a new page, because you keep piling up the display list which forces R to redraw everything including over-painted parts of the plot.

If you want to do animation I hope you are aware of the crucial commands dev.hold()/dev.flush() designed for that purpose (and efficiency).

Cheers,
Simon