[R] handling objects plotted on x11 device

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Dec 27 20:11:02 CET 2002


On Fri, 27 Dec 2002, Uwe Ligges wrote:

> Timur Elzhov wrote:
> >
> > Is it possible to handle objects have already been plotted on
> > x11 device?  For example, I wrote the text on the wrong place.
> > Can I remove it, or I have to re-draw all the canvas, again?
>
> The latter.

You can re-plot the text in background colour (col=0) *provided that is
not transparent*  (when you can use the canvas colour) and provided it did
not overlap other graphics.

In practice, Uwe's suggestion is much the easiest one.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list