Dear R masters! 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? Thank you! -- WBR, Timur.
handling objects plotted on x11 device
4 messages · Timur Elzhov, Uwe Ligges, Brian Ripley +1 more
Timur Elzhov wrote:
Dear R masters! 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. Uwe Ligges
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
At 19:06 27/12/02 +0000, Brian Ripley wrote:
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.
And almost totally painless if you use (short) scripts rather than the keyboard to generate the R activity, Richard Rowe Richard Rowe Senior Lecturer Department of Zoology and Tropical Ecology, James Cook University Townsville, Queensland 4811, Australia fax (61)7 47 25 1570 phone (61)7 47 81 4851 e-mail: Richard.Rowe at jcu.edu.au http://www.jcu.edu.au/school/tbiol/zoology/homepage.html