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: > If you mean the rectangular boxes surrounding the panels and strips, they > are drawn by grid.rect() and not under the control of lattice. > > If so, it is *not* a grid but a series of boxes, and they don't always > align perfectly, as example(xyplot) shows on my screen (and if you > had some space between the plots this would be clearer to you). > > You could alter the grid.text calls in print.trellis to change the colour > .... > > On Thu, 5 Jun 2003, Mulholland, Tom wrote: > > I am not using panel.grid directly. It appears to use the reference.line > > component of the lattice.theme. Since I have tried changing all obvious > > comonents in the lattice.theme (including reference.line) I assume I am > > correct in this assertion. > > > > I probably used the wrong word, but I wasn't sure what else to call it. > > It is the grid around each plot and strip. It dominates the trellis > > ...(that's what I should have called it). How do you change the colour of > > the trellis? > > > > > > -----Original Message----- > > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 4 June 2003 6:26 PM > > > > What grid? You put it there, and you can change its colour. It comes > > from calling panel.grid, and arg(panel.grid) will hint to you how to > > change this. ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
