[R] More complicated multi-plot layouts?
jim holtman
jholtman at gmail.com
Sun Jul 26 02:57:28 CEST 2009
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?
More information about the R-help
mailing list