Skip to content

drawing outside a plot region

3 messages · ivo welch, Gabor Grothendieck, Brian Ripley

#
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.

possible?

regards,

/iaw
#
Check xpd= in ?par
On 2/5/06, ivo welch <ivowel at gmail.com> wrote:
#
On Sun, 5 Feb 2006, ivo welch wrote:

            
See par(xpd) which does exactly this (and also allows cropping to the 
figure region).