No box is easy, bwplot(y~x, data=data.frame(y=rnorm(10),x=sample(letters[1:3],10,repl=T)), par.settings=list(axis.line=list(col=NA)))
but that seems to remove all axis lines and ticks as well. You may have to define a custom panel.axis() function. An alternative is to use grid.remove() to remove the frame, bwplot(y~x, data=data.frame(y=rnorm(10),x=sample(letters[1:3],10,repl=T))) grid.remove("rect",grep=T,global=TRUE) HTH, baptiste 2009/9/18 lith <minil...@gmail.com>: >> 1.) How do I make lattice (e.g. barchart) to not draw a box but only a >> y-axis on the left hand side so that the plot looks like barplot with >> default settings? > > Does nobody have an idea? Or is the solution that obvious? > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.