On Mar 1, 2009, at 2:45 PM, Gregory Propf wrote:

I'm trying to put the legend in my matplot plot outside the plot box and it just doesn't seem to want me to. If I use a negative value for "inset" I just see only the part of the legend that is inside the plot box. Any ideas? - Greg



Hi,

You can control clipping with the xpd parameter to par...

matplot(1:10,1:10)
par(xpd=NA)
legend(0,12,"sailing is fun")

xpd can take on other values, too.

Cheers,
Ben

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to