Hi
A toy example which you omitted
dat <- data.frame(x = rep(1:10,2),y = rnorm(20), gp = rep(letters[1:2],
each=10) )
xyplot(y~x|gp,dat, scales = list(y = list("alternating" = 3)))
see ? xyplot and scales
a slimmed down
sessionInfo()
R version 2.8.1 (2008-12-22)
i386-pc-mingw32
attached base packages:
[1] datasets utils stats graphics grDevices
grid methods base
other attached packages:
[1] R.oo_1.4.6 R.methodsS3_1.0.3
foreign_0.8-34 chron_2.3-30 MASS_7.2-46 lattice_0.17-20
HTH
Regards
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
At 09:50 19/05/2009, you wrote:
Hi Everyone,
I have been creating a lattice plot with the layout = c(1,2). For some
reason my boss wants the Y axis of both plots to be on the left hand side