[R] How to make two side-by side trellis plots same size

2006-01-26 Thread Dieter Menne
Dear Latticers, I want to position two trellis plots of different forms side-by-side. The plot types are slightly different, aspect=1 required, but panels should look the same in both plots. Current workaround uses a guessed factor. Any way to improve this? Dieter library(lattice) n1 = 20

Re: [R] How to make two side-by side trellis plots same size

2006-01-26 Thread Deepayan Sarkar
On 1/26/06, Dieter Menne [EMAIL PROTECTED] wrote: Dear Latticers, I want to position two trellis plots of different forms side-by-side. The plot types are slightly different, aspect=1 required, but panels should look the same in both plots. Current workaround uses a guessed factor. Any way

Re: [R] How to make two side-by side trellis plots same size

2006-01-26 Thread Dieter Menne
Thanks, Deepayan Deepayan Sarkar deepayan.sarkar at gmail.com writes: If that's the only reason, I would suggest rbind-ing them and then use scales = list(x = free) I probably will go for this. If you want the first two columns to have the same x-limits, you can specify xlim =

Re: [R] How to make two side-by side trellis plots same size

2006-01-26 Thread Deepayan Sarkar
On 1/26/06, Dieter Menne [EMAIL PROTECTED] wrote: Thanks, Deepayan Deepayan Sarkar deepayan.sarkar at gmail.com writes: If that's the only reason, I would suggest rbind-ing them and then use scales = list(x = free) I probably will go for this. If you want the first two columns to

Re: [R] How to make two side-by side trellis plots same size

2006-01-26 Thread Dieter Menne
Deepayan Sarkar deepayan.sarkar at gmail.com writes: Documentation said that using panel.width with non-standard aspect (which must be 1) leads to undefined effects. Yes, because panel.width and panel.height together define the aspect, and will override whatever the 'aspect' argument