drawing outside a plot region
On Sun, 5 Feb 2006, ivo welch wrote:
Dear R wizards: First, thank you for all the responses to my earlier queries. Will keep me busy tomorrow morning. Can I add one graphics question to my ever changing set of bothering questions, please? plot( c(0,1), c(0,1) ); crop.to.plot.off(); # what I want; does not exist text( -0.3, 0.1, " this is 0.1 "); arrows(-0.1,0.1,0,0.1); crop.to.plot.on(); # what I want; does not exist of course, the text and most of the arrow is cropped. for most of my graph, I like the crop, but here I would like to turn it off.
See par(xpd) which does exactly this (and also allows cropping to the figure region).
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