Re: [R] Unwanted boxes in legend

2010-04-21 Thread Steve Murray
in... >>> >>> Cheers, >>> >>> Steve >>> >>> -------- >>>> Date: Tue, 20 Apr 2010 11:55:20 -0600 >>>> From: ehl...@ucalgary.ca >>>> To: tgstew...@gmail.com >>>> CC: smurray...@hot

Re: [R] Unwanted boxes in legend

2010-04-21 Thread Peter Ehlers
elp@r-project.org Subject: Re: [R] Unwanted boxes in legend On 2010-04-19 8:11, Thomas Stewart wrote: Try border=c(0,0,1,0). -tgs If the 'border' argument is not recognized, then this won't work. Steve: What version of R are you using? I have no problems with the suggestions

Re: [R] Unwanted boxes in legend

2010-04-21 Thread Peter Ehlers
gain... Cheers, Steve Date: Tue, 20 Apr 2010 11:55:20 -0600 From: ehl...@ucalgary.ca To: tgstew...@gmail.com CC: smurray...@hotmail.com; r-help@r-project.org Subject: Re: [R] Unwanted boxes in legend On 2010-04-19 8:11, Thomas Stewart wrote: Try border=c(0,0,

Re: [R] Unwanted boxes in legend

2010-04-21 Thread Steve Murray
20 -0600 > From: ehl...@ucalgary.ca > To: tgstew...@gmail.com > CC: smurray...@hotmail.com; r-help@r-project.org > Subject: Re: [R] Unwanted boxes in legend > > On 2010-04-19 8:11, Thomas Stewart wrote: >> Try border=c(0,0,1,0). >> -tgs > > If the 'border&

Re: [R] Unwanted boxes in legend

2010-04-20 Thread Peter Ehlers
rray...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] Unwanted boxes in legend On 2010-04-15 11:10, Steve Murray wrote: Dear all, I am using the following code to generate a legend in my plot (consisting of both bars and points), but end up with boxes around my points: legend(10, par(&

Re: [R] Unwanted boxes in legend

2010-04-19 Thread Thomas Stewart
> > > Date: Thu, 15 Apr 2010 12:13:40 -0600 > > From: ehl...@ucalgary.ca > > To: smurray...@hotmail.com > > CC: r-help@r-project.org > > Subject: Re: [R] Unwanted boxes in legend > > > > On 2010-04-15 11:10, Steve

Re: [R] Unwanted boxes in legend

2010-04-19 Thread Steve Murray
are of any alternative means of switching off boxes around all but one of the elements in a legend? Many thanks for any input, Steve > Date: Thu, 15 Apr 2010 12:13:40 -0600 > From: ehl...@ucalgary.ca > To: smurray...@hotmail.com > CC: r-help@

Re: [R] Unwanted boxes in legend

2010-04-15 Thread Peter Ehlers
On 2010-04-15 11:10, Steve Murray wrote: Dear all, I am using the following code to generate a legend in my plot (consisting of both bars and points), but end up with boxes around my points: legend(10, par("usr")[4], c("A", "B", "C", "D"), fill=c(NA,NA, "grey28", NA), pch=c(16,4,NA,18), col=

[R] Unwanted boxes in legend

2010-04-15 Thread Steve Murray
Dear all, I am using the following code to generate a legend in my plot (consisting of both bars and points), but end up with boxes around my points: legend(10, par("usr")[4], c("A", "B", "C", "D"), fill=c(NA,NA, "grey28", NA), pch=c(16,4,NA,18), col=c("red","blue","grey28","yellow"), lty=FALS