[R] layout question

Bill Simpson wsi at gcal.ac.uk
Mon Sep 18 13:55:28 CEST 2000


I wanted to produce a layout like this:

      |----------|
      |          |
      |    1     | 
      |          |
|-----------------------|
|           |           |  
|     2     |    3      |   
|           |           |  
|-----------------------|
Three equal sized plots with the top one centred about the other two.

So far I am using
nf<-layout(matrix(c(1,1,2,3), 2, 2, byrow=TRUE),respect=TRUE)
which produces a layout like this:

|-----------------------|
|                       |
|          1            |
|                       |
|-----------------------|
|           |           |
|     2     |    3      |
|           |           |
|-----------------------|

The top plot is stretched horizontally.

Is there a way to get what I want with layout or by some other means?
Thanks for any help.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list