Re: [R] xyplot legends

2010-09-14 Thread Peter Ehlers
x27;divide=' argument to key(): key(divide = 1, etc) See the 'key' section in ?xyplot. -Peter Ehlers Thanks very much! John - Original Message From: David Winsemius To: array chip Cc: r-help@r-project.org Sent: Mon, September 13, 2010 4:05:04 PM Subject: Re: [R

Re: [R] xyplot legends

2010-09-13 Thread array chip
From: David Winsemius To: array chip Cc: r-help@r-project.org Sent: Mon, September 13, 2010 4:05:04 PM Subject: Re: [R] xyplot legends On Sep 13, 2010, at 6:25 PM, array chip wrote: > Hi all, I > > When I plot both lines and points using type=c('l', 'p') in xy

Re: [R] xyplot legends

2010-09-13 Thread David Winsemius
On Sep 13, 2010, at 6:25 PM, array chip wrote: Hi all, I When I plot both lines and points using type=c('l', 'p') in xyplot(), if I want to include in legend both of them using keys=list(lines=list(col=1:3), points=list(pch=1:3)), the lines and points are plotted side by side in legend.

[R] xyplot legends

2010-09-13 Thread array chip
Hi all, I When I plot both lines and points using type=c('l', 'p') in xyplot(), if I want to include in legend both of them using keys=list(lines=list(col=1:3), points=list(pch=1:3)), the lines and points are plotted side by side in legend. Is there anyway to plot the points in the middle of th