An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090301/90e796ff/attachment-0002.pl>
Legend outside plot box?
2 messages · Gregory Propf, Ben Tupper
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