Skip to content
Prev 32931 / 398503 Next

box colours in lattice (was RE: [R] Strip location and grid colour in Lattice)

I'm still not completely sure what you are after, but if indeed you want to 
change the color of the rectangle borders, how about this ?:

x <- rnorm(100)
y <- rnorm(100)
a <- factor(sample(1:4, 100, rep = T))
 
lset(list(axis.line = list(col = "grey")))
xyplot(y ~ x | a)

(Make sure you have a recent version of lattice.)

Deepayan
On Thursday 05 June 2003 03:19, Prof Brian Ripley wrote: