Re: [R] Split plot panel into rows with different columns

2021-10-22 Thread Luigi Marongiu
Yes, you are right, it works fine when plotting on file. Thank you! On Thu, Oct 21, 2021 at 11:42 PM Bert Gunter wrote: > > The syntax is correct; the default margins are too large for your device. > > For example, using your split screen specs on the RStudioGD > > > split.screen(c(3, 1))

Re: [R] Split plot panel into rows with different columns

2021-10-21 Thread Jim Lemon
Hi Luigi, Bert has identified the problem. If the ordinates in each row are the same, you can save quite a bit of space by setting the left and right margins to zero on all but the left plots in each row. This will jam the plots together at the sides, but that may not matter to you. Remember that

Re: [R] Split plot panel into rows with different columns

2021-10-21 Thread Bert Gunter
The syntax is correct; the default margins are too large for your device. For example, using your split screen specs on the RStudioGD > split.screen(c(3, 1)) # split display into 3 screens [1] 1 2 3 > > split.screen(c(1, 2), screen = 2) # split second screen into two columns [1] 4 5 > >

[R] Split plot panel into rows with different columns

2021-10-21 Thread Luigi Marongiu
Hello, I would like to draw 5 figures in the same plot. The layout is: first row: 1 column second row: 2 columns third row: 2 columns I have used split.screen: ``` > split.screen(c(3, 1)) # split display into 3 screens [1] 1 2 3 > split.screen(c(1, 2), screen = 2) # split second screen