Re: [R] Draw two separate legends in xyplot

2013-09-17 Thread Duncan Mackay
[mailto:r-help-boun...@r-project.org] On Behalf Of Jun Shen Sent: Tuesday, 17 September 2013 02:27 To: R-help Subject: [R] Draw two separate legends in xyplot Hi all, I wonder if there is a way to draw two separate legends in xyplot as I would like to separate the legend for data and the legend for

[R] Draw two separate legends in xyplot

2013-09-16 Thread Jun Shen
Hi all, I wonder if there is a way to draw two separate legends in xyplot as I would like to separate the legend for data and the legend for reference lines I add. I can use key argument to draw one legend with everything together. What I really want is to put one legend at the bottom and the othe

Re: [R] Draw two separate legends in xyplot

2013-09-16 Thread Gesmann, Markus
ob(lab = "The Beatles"), row = 1, col = 2) xyplot(1 ~ 1, legend = list(top = list(fun = foo), bottom = list(fun = boo))) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jun She