Skip to content

Legend outside plot box?

2 messages · Gregory Propf, Ben Tupper

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

            
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