Skip to content

Rescaling columns in a multi-plot layout

2 messages · Manojit Roy, Peter Ehlers

#
Dear all,

I am trying to create a 6-plot layout - 3 rows and 2 columns - so that 
only the top two plots have variable widths, all else with their default 
setting. Using 
"layout(matrix(c(1,2,3,4,5,6),3,2,byrow=T),widths=c(5,2))" rescales 
column #2 of all three rows, whereas I would like to rescale that of 
only row #1. Is there a simple way of doing this?

Thanks,
Manojit
#
On 2011-07-25 10:30, Manojit Roy wrote:
I think that you'll have to make 3 columns:

  layout(matrix(c(1,1,2,3,4,4,5,6,6), 3, 3, byrow = TRUE),
         widths = c(3.5, 1.5, 2))
  layout.show(6)

Peter Ehlers