[R] graphics and 'layout' question
ccleland at optonline.net
Fri Sep 15 15:42:37 CEST 2006
Arne.Muller at sanofi-aventis.com wrote:
> 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))
> thanks a lot for your help,
> R-help at stat.math.ethz.ch mailing list
> 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.
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
More information about the R-help