[R] More complicated multi-plot layouts?

Gabor Grothendieck ggrothendieck at gmail.com
Sun Jul 26 02:57:11 CEST 2009


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.
>
>




More information about the R-help mailing list