[R] turn off selected axes in bwplot

From: William Briggs <wib2004_at_med.cornell.edu>
Date: Tue 07 Feb 2006 - 03:28:32 EST

I want to turn off selected axes in bwplot. I would like to only have the bottom axis drawn, with the others off.

I have a series of bwplots that I want on one device, like this:

p1<-bwplot(x1,box.ratio=.1)
p2<-bwplot(x2,box.ratio=.1)
...

print(p1,position=c(0,.8,1,1),more=T)
print(p2,position=c(0,.6,1,.8),more=T)
...

I know about the panel functions panel.bwplot() and panel.axis(), but I don't know how to directly call them and change, for example, the side parameter of panel.axis(), leaving all the other parameters of both panel functions untouched.

The axis can be turned off altogether with:

trellis.par.set(axis.line = list( color="transparent"))

but this is obviously not what I need.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 07 03:38:20 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:24 EST