[R] overlapping plots

Carlisle Thacker Carlisle.Thacker at noaa.gov
Tue Nov 2 15:06:09 CET 2004


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 
special case, the x-axes would have to appear at the top of each plot. 
If there are boxes around the plots or guide lines, the parts below 
plots 2 and 3 should be obscured.

Thanks,

Carlisle

Liaw, Andy wrote:
> 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 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 construct their 
>>axes by hand, but it would be great if R has an easier way.
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide! 
>>http://www.R-project.org/posting-guide.html
>>
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
> ------------------------------------------------------------------------------




More information about the R-help mailing list