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

jimdare jamesdare26 at gmail.com
Wed Apr 15 01:39:15 CEST 2009


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 series depicted by a
rectangle, and the xyplot series by a line.  Is there a way to do this? 
Your help is much appreciated.

James
-- 
View this message in context: http://www.nabble.com/Lattice-xyplot%3A-Line-and-Rectangle-in-legend.-tp23050031p23050031.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list