[R] space between plots

jim holtman jholtman at gmail.com
Fri Apr 18 11:52:21 CEST 2008


When I try this:

layout(matrix(c(1,3,2,4),ncol=2))


par(mar=c(0, 4, 4, 0) + 0.0)
plot(1)
par(mar=c(0, 0, 4, 3) + 0.0)
plot(2)
plot(3)
plot(4)

the upper left and right are butted together.  Exactly what 'space'
are you talking about?

On Fri, Apr 18, 2008 at 4:19 AM, Agustin Lobo <Agustin.Lobo at ija.csic.es> wrote:
> I've set
>
> layout(matrix(c(1,3,2,4),ncol=2))
> and
>
> par(mar=c(0, 4, 4, 0) + 0.0) and
> par(mar=c(0, 0, 4, 3) + 0.0)
>
> for the upper-left and upper-right plots, but
> still get an space between both plots,
>
> is there any way to completely eliminate that space?
>
> Thanks
>
> Agus
> --
> Dr. Agustin Lobo
> Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
> LLuis Sole Sabaris s/n
> 08028 Barcelona
> Spain
> Tel. 34 934095410
> Fax. 34 934110012
> email: Agustin.Lobo at ija.csic.es
> http://www.ija.csic.es/gt/obster
>
> ______________________________________________
> 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 you are trying to solve?



More information about the R-help mailing list