[R] overlapping plots

2004-11-01 Thread Carlisle Thacker
How to combine three plots so that they partially overlap? As the data on all three are near the left side and top, it would be nice to draw the first, shift axes down and to the right and draw the second, and shift again to draw the third. I could shift the data for the 2nd and 3rd plots and

RE: [R] overlapping plots

2004-11-01 Thread Liaw, Andy
I don't really understand what you want to do, but seems like with the `grid' package, such things are quite possible. Andy > From: Carlisle Thacker > > How to combine three plots so that they partially overlap? > As the data > on all three are near the left side and top, it would be nice to

Re: [R] overlapping plots

2004-11-01 Thread partha_bagchi
uot;) par(mai = c(1,2,3,1)) par(new = TRUE) x <- runif(50) plot(x, xlim = c(1, 500), ylim = c( -5, 1), bty = "l") Does that help? Partha "Carlisle Thacker" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/01/2004 04:09 PM To: [EMAIL PROTECTE

Re: [R] overlapping plots

2004-11-02 Thread Carlisle Thacker
Andy, If I had the three plots on three separate sheets of paper, I could cut out plot 2 and paste it over plot one so that the data and axes on both plots can be seen. Then I could cut out plot 3 and past it over plots 1 and 2 so that data and axes on all three plots can be seen. For my spec

Re: [R] overlapping plots

2004-11-02 Thread Jim Lemon
Carlisle Thacker wrote: > Andy, > > If I had the three plots on three separate sheets of paper, I could cut > out plot 2 and paste it over plot one so that the data and axes on both > plots can be seen. Then I could cut out plot 3 and past it over plots 1 > and 2 so that data and axes on all three