Look at the subplot function in the TeachingDemos package, it may do what you want.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Jay > Sent: Wednesday, December 30, 2009 2:32 AM > To: r-help@r-project.org > Subject: [R] Positioning plots on top of each other (aligment & > borders) > > Hello, > > I want to place two plots on top of each other. However, the problem > is that I can't figure out a simple way to align them correctly. Is > there a way to specify this? > Since the data is bunch of coordinates and the second layer is an > outline of a map (a .ps file I import using the grImport package), I > suppose one option would be to specify a set of "artificial" > coordinates that make up the very corners of that plot, and then have > the second layer will this same space. Any ideas how to do this? > > > //John > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.