Re: [R] Plots of different aspect ratios on one page, base aligned(trellis.print)

2009-03-25 Thread Deepayan Sarkar
On 3/10/09, Saptarshi Guha wrote: > Hello, > I have an example of a 2 paneled plot, with two different aspect > ratios displayed on one page. > An example would help > > n=20 > x1 <- cumsum(runif(n)) > x2 <- cumsum(runif(n)) > d <- data.frame(val=c(x1,x2),id=c(1:n,1:n), nt=c(rep("A",n),rep(

[R] Plots of different aspect ratios on one page, base aligned(trellis.print)

2009-03-10 Thread Saptarshi Guha
Hello, I have an example of a 2 paneled plot, with two different aspect ratios displayed on one page. An example would help n=20 x1 <- cumsum(runif(n)) x2 <- cumsum(runif(n)) d <- data.frame(val=c(x1,x2),id=c(1:n,1:n), nt=c(rep("A",n),rep("B",n))) u1 <- xyplot(val~id | nt, data=d,aspect=1,layout=c