[R] Legend outside the plotting region

John Fox jfox at mcmaster.ca
Tue May 4 02:02:12 CEST 2004


Dear Miha,

Try setting par(xpd=TRUE) or par(xpd=NA).

I hope this helps,
 John 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Miha STAUT
> Sent: Monday, May 03, 2004 4:15 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Legend outside the plotting region
> 
> Hello,
> 
> How would I add a legend to the plot outside the plotting 
> region? I tried different graphical parameters (fig, plt, usr 
> and fig in combination with
> plt) in par() without success.
> 
> Thanks in advance, Miha Staut




More information about the R-help mailing list