0

Is it possible to place panel labels (i.e. 3gears, 4gears...) at the bottom instead of the top?

enter image description here

# Lattice Examples
library(lattice)
attach(mtcars)

# dotplot for each combination of two factors
dotplot(cyl.f~mpg|gear.f,
        main="Dotplot Plot by Number of Gears and Cylinders",
        xlab="Miles Per Gallon")

Thanks!

John Paul
  • 12,196
  • 6
  • 55
  • 75
Max C
  • 2,573
  • 4
  • 23
  • 28
  • I thought this would be easy. `?strip.default` seems like it ought to provide the answer. But as far as I can see, it doesn't. The latticeExtra package has a function `useOuterStrips` that does something different, but maybe looking at the source code for it would show how to put strips on the bottom. I'm surprised it's not an easy option in Lattice. – Mars Apr 29 '13 at 20:58
  • I thought it was easy too but I can't find any information on how to do it. As far as I know, it is not possible to change the location of panels in GGPLOt so it may be the same case here. thanks – Max C Apr 29 '13 at 22:33
  • Well, you can put the panels on the side, and I think you can then choose either right or left. But that uses arguments that are specifically designed for vertical panels. I see nothing similar for horizontal panel placement. – Mars Apr 30 '13 at 01:57

0 Answers0