[R] xyplot key

Andrewjohnclose a.j.close at ncl.ac.uk
Wed Sep 30 15:54:55 CEST 2009


Hi,

I'm having trouble matching the symbols/color of the key to match those
specifiec in the plot.

Here is the code I used:


xyplot(GCR+GCT ~ FRAC, data=RWF, type=c("g","p"),cex=1.2,pch=c(22,21),
xlab=expression(italic("f")),ylab=expression(italic("S")),
key=list(points=list(pch=c(22,21),cex=1.2),
text=list(c("Targeted Deletion","Random Deletion"))))

I'm, sorry if this is an apparently easy/obvious mistake on my part.

With thanks

Andrew

http://www.nabble.com/file/p25681535/RWF.csv RWF.csv 
-- 
View this message in context: http://www.nabble.com/xyplot-key-tp25681535p25681535.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list