[R] newbie's question : xyplot legend with a white background
PtitBleu
ptit_bleu at yahoo.fr
Thu Nov 10 17:09:12 CET 2011
Hello,
Sorry in advance for adding a silly question on this forum but I haven't
found the right keywords to find a solution to this basic problem.
I'm just looking a way to have a white background behind the legend to hide
the grid.
Thanks in advance.
The silly example for my silly question:
xyplot(1~1,
panel = function(x,y, ...) {
panel.xyplot(x,y)
panel.abline(v=seq(0,1.4,by=0.1))
panel.abline(h=seq(0,1.4,by=0.1))
}
,key=list(x=0.2, y=0.88, points=list(col=c("red","green"),pch=20, cex=2),
text=list(c("aaaaaaaaa","zzzzzzzzz")))
)
--
View this message in context: http://r.789695.n4.nabble.com/newbie-s-question-xyplot-legend-with-a-white-background-tp4024152p4024152.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list