[R] Draw two separate legends in xyplot

Duncan Mackay dulcalma at bigpond.com
Tue Sep 17 15:47:43 CEST 2013


Have a look at

?draw.key

I have not got any code at hand as it is too late

Regards

Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mackay at northnet.com.au


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at 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 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 other on the
top. Thanks.

Jun

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list