Re: [R] Multi-Row Lattice Plot With Y Axis on Same Side

2009-05-18 Thread jimdare
Thank you. Duncan Mackay-2 wrote: > > 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 > sessionIn

Re: [R] Multi-Row Lattice Plot With Y Axis on Same Side

2009-05-18 Thread Duncan Mackay
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 bas

[R] Multi-Row Lattice Plot With Y Axis on Same Side

2009-05-18 Thread jimdare
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 of the graph. Is there a way to do this? Regards, James -- View this message in context: http://www.nabble.com/Multi-Row-Lattice-Plot-