[R] eliminating panel borders from lattice plots
john.bullock at stanford.edu
Sun Mar 25 13:19:28 CEST 2007
I am trying to eliminate panel borders from my
lattice plots. By default, they always print. For
x <- seq(-3,3,length=1000)
y1 <- dnorm(x)
y2 <- dnorm(x, sd=.5)
data <- data.frame(x=rep(x,2), y=c(y,y2),
dplot <- xyplot(y~x | panel, data=data, strip=F,
prints borders around each panel. I see no way to
get rid of them short of creating a panel function
and "painting over" these default borders with
grid.rect(). But I suspect that there is an easier
way -- is there?
I searched the archives but saw nothing on this.
I'm running R 2.3.1 with lattice 0.13.
More information about the R-help