Re: [R] Legend Clipping

2008-04-20 Thread Beck, Kenneth (STP)
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

Re: [R] Legend Clipping

2008-04-20 Thread Jim Lemon
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

Re: [R] Legend Clipping

2008-04-18 Thread Beck, Kenneth (STP)
0.75,0); barplot(pmn,ylab="Slopes",beside=TRUE,ylim=ylimit,xlim=c(1,6.0), col = c(NA,"blue", NA, "red",NA)); plot(1, type="n", axes=FALSE, xlab="", ylab="",ylim=c(0,2),xlim=c(0,2)); legend(0.5,0.5, legend = c("CPX","Home

[R] Legend Clipping

2008-04-18 Thread Beck, Kenneth (STP)
I am having trouble with legends clipping, not sure how to control that. Here is my latest code to demo. I want the legend to show up in the center of the window, in fairly large font. Right now, font is too small, but if I increase it, the legend clips even more. In this simplified example, the pl

[R] Legend Clipping

2008-04-18 Thread Beck, Kenneth (STP)
I am having trouble with legends clipping, not sure how to control that. Here is my latest code to demo. I want the legend to show up in the center of the window, in fairly large font. Right now, font is too small, but if I increase it, the legend clips even more. In this simplified example, the pl