Re: [R] Lattice xyplot: Line and Rectangle in legend.

2009-04-14 Thread Deepayan Sarkar
On Tue, Apr 14, 2009 at 4:39 PM, jimdare wrote: > > Hello fellow R users, > > I have a problem.  I have created a barchart overlayed by an xyplot line, > both of which read off the same Y axis.  The problem comes when I try to > generate a key.  It seems that I can only create either two lines, or

[R] Lattice xyplot: Line and Rectangle in legend.

2009-04-14 Thread jimdare
Hello fellow R users, I have a problem. I have created a barchart overlayed by an xyplot line, both of which read off the same Y axis. The problem comes when I try to generate a key. It seems that I can only create either two lines, or two rectangles. I would much prefer to have the barchat s