Hi, I made the attached picture by mocking up three separate plots sort of like how I'd like to make a new plot. Hopefully it will get through to the list. Is there a way to do this directly using par somehow? Or one of the other plotting packages? Basically, multiple larger plot above multiple groups of smaller plots? The smaller plots are just par(mrow=c(2,3)) things, and I can certainly do 2,6 for something wider like this demo but I'm not clear how to specify an area for larger plots above. Is it possible? Thanks, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: DemoPlot.png Type: image/png Size: 53834 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090725/dff36f63/attachment-0002.png>
See ?layout opar <- par(mar = c(2, 2, 2, 2)) m <- matrix(c(1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 3, 4, 5, 9, 10, 11, 6, 7, 8, 12, 13, 14), 4, byrow = TRUE) layout(m) for(i in 1:14) plot(i) On Sat, Jul 25, 2009 at 8:34 PM, Mark Knecht<markknecht at gmail.com> wrote:> Hi, > ? I made the attached picture by mocking up three separate plots sort > of like how I'd like to make a new plot. Hopefully it will get through > to the list. > > ? Is there a way to do this directly using par somehow? Or one of the > other plotting packages? Basically, multiple larger plot above > multiple groups of smaller plots? The smaller plots are just > par(mrow=c(2,3)) things, and I can certainly do 2,6 for something > wider like this demo but I'm not clear how to specify an area for > larger plots above. Is it possible? > > Thanks, > Mark > > ______________________________________________ > R-help at 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. > >
Use 'layout' to define the regions: may need to change the 'mar' layout(rbind(c(1,1,2,2), c(3,4,7,8), c(5,6,9,10)), height=c(2,1,1)) layout.show(10) plot(0) plot(1) for (i in 1:4) plot(i) for (i in 11:14) plot(i) On Sat, Jul 25, 2009 at 8:34 PM, Mark Knecht<markknecht at gmail.com> wrote:> Hi, > ? I made the attached picture by mocking up three separate plots sort > of like how I'd like to make a new plot. Hopefully it will get through > to the list. > > ? Is there a way to do this directly using par somehow? Or one of the > other plotting packages? Basically, multiple larger plot above > multiple groups of smaller plots? The smaller plots are just > par(mrow=c(2,3)) things, and I can certainly do 2,6 for something > wider like this demo but I'm not clear how to specify an area for > larger plots above. Is it possible? > > Thanks, > Mark > > ______________________________________________ > R-help at 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. > >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?