Jim, Thanks for the tip, this did the trick. I knew it would be simple,
too much documentation, too little time!


-----Original Message-----
From: Jim Lemon [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 20, 2008 5:20 AM
To: Beck, Kenneth (STP)
Cc: r-help@r-project.org
Subject: Re: [R] Legend Clipping

Beck, Kenneth (STP) wrote:
 > ...
> legend(0.5,0.5, legend = c("CPX","Home"), bty="n", 
> fill=c("blue","red"),lwd=1, cex=1, xjust=0.5, yjust=0.4);
> 
Hi Kenneth,
Try this:

par(xpd=TRUE)
legend(0.5,0.5, legend = c("CPX","Home"), bty="n",
fill=c("blue","red"),lwd=1, cex=1, xjust=0.5, yjust=0.4);
par(xps=FALSE)

Jim

______________________________________________
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