Re: [R] space between plots

From: Agustin Lobo <Agustin.Lobo_at_ija.csic.es>
Date: Fri, 18 Apr 2008 13:25:26 +0200

ok, I see: I was confused because the box goes a bit beyond the axes:
layout(matrix(c(1,3,2,4),ncol=2))
par(mar=c(0, 4, 4, 0) + 0.0)
plot(1,yaxt="n")
par(mar=c(0, 0, 4, 3) + 0.0)
plot(2,bty="n",yaxt="n")

...and I'm not
plotting the box in my graphic.

Thanks

Agus
jim holtman escribió:

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

-- 
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.
Received on Fri 18 Apr 2008 - 12:39:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Apr 2008 - 13:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive