Re: [R] graphics and 'layout' question

From: David Barron <mothsailor_at_googlemail.com>
Date: Fri 15 Sep 2006 - 13:46:24 GMT

Use the heights parameter in the layout function, as shown in ?layout. For example, to get the first figure to be twice as tall as the other two, use:

> layout(matrix(c(1,1,2,3),2,2,byrow=TRUE),heights=c(2,1))
> layout.show(3)

On 15/09/06, Arne.Muller@sanofi-aventis.com <Arne.Muller@sanofi-aventis.com> wrote:
>
> Hello,
>
> I got stuck with a graphics question: I've 3 figures that I present on a
> single page (window) via 'layout'. The layout is
>
> layout(matrix(c(1,1,2,3), 2, 2, byrow=TRUE));
>
> so that the frst plot spans the both columns in row one. Now I'd like to
> magnify the fist figure so that it takes 20% more vertical space (i.e.
> more space for the y-axis). How would I do this in R?
>

> thanks a lot for your help,

>
> Arne
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

-- 
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP

	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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 Sep 15 23:51:39 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 15 Sep 2006 - 14:30:05 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.