Re: [R] accessing ylim set by xyplot

2007-10-12 Thread Duncan Mackay
At 22:48 12/10/07, you wrote: >Hello, > >I would like to know if there is a clever way to avoid the problem >illustrated below within the xyplot function. > >x <- seq(1:10) >y <- seq(1:10) >pr1 <- xyplot(x ~ y) > >u <- seq(1:12) >v <- seq(1:12) >pr2 <- xyplot(u ~ v, col = "red", more = FALSE) > >p

Re: [R] accessing ylim set by xyplot

2007-10-12 Thread Peter Dalgaard
Powell, Jeff wrote: > Hello, > > I would like to know if there is a clever way to avoid the problem > illustrated below within the xyplot function. > > x <- seq(1:10) > y <- seq(1:10) > pr1 <- xyplot(x ~ y) > > u <- seq(1:12) > v <- seq(1:12) > pr2 <- xyplot(u ~ v, col = "red", more = FALSE) >

[R] accessing ylim set by xyplot

2007-10-12 Thread Powell, Jeff
Hello, I would like to know if there is a clever way to avoid the problem illustrated below within the xyplot function. x <- seq(1:10) y <- seq(1:10) pr1 <- xyplot(x ~ y) u <- seq(1:12) v <- seq(1:12) pr2 <- xyplot(u ~ v, col = "red", more = FALSE) prts <- list(pr1, pr2) for(i in prts) pr