Re: [R] graphics and 'layout' question

From: Chuck Cleland <ccleland_at_optonline.net>
Date: Fri 15 Sep 2006 - 13:42:37 GMT

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?

  Are you looking for the heights argument? For example:

nf <- layout(matrix(c(1,1,2,3), 2, 2, byrow=TRUE), heights=c(70,30)) layout.show(nf)

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

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894

______________________________________________
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:47:32 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.