Может быть, об этом немного подумать. Обратите внимание на использование scales
.
library(lattice)
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes)
Это дает вам следующий график.
![enter image description here](https://i.stack.imgur.com/1MSJX.jpg)
И если вы установите аргумент шкалы:
xyplot(lat ~ long | Depth, data = quakes,
scales = list(y = list(at = seq(from = 0, to = -50, by = -10))))
![enter image description here](https://i.stack.imgur.com/2ANlP.jpg)
Один подарок с гистограммой (изменил отметки и повернул их):
histogram( ~ height | voice.part, data = singer,
xlab = "Height (inches)", type = "density",
panel = function(x, ...) {
panel.histogram(x, ...)
panel.mathdensity(dmath = dnorm, col = "black",
args = list(mean=mean(x),sd=sd(x)))
},
scales = list(x = list(at = seq(60, 80, by = 2), rot = 45)))
![enter image description here](https://i.stack.imgur.com/rfAj5.jpg)