Dear All,
I ran into some problem while I was trying to visualise some data. Essentially I wrote a script in R which generates a pdf(a plot actually) for each of the gene that I am interested in. The pdf file has 2 panels.
To make these two panels, I split my screen first of all with the following command: split.screen( figs = c( 2, 1 ) ) ### Split my screen into 2 parts such that there is 1 column and two rows. Then, I just go about doing things in panel 1 and panel 2. For panel 1, I have to write the code under screen(1) while for panel 2, the code begins with screen(2). Everything works fine. My only issue is that I want to split the screen into unequal sizes. I would like panel 1 (screen 1) to occupy 70% of the final image and screen 2/panel 2 to occupy the rest. Any suggestions on how do I make changes to the split.screen command at the beginning ?
Thanks
Thanks Chris for the info on the layout function, though I stil managed to get it done by supplying a matrix to the split.screen function as suggested by "sgibb".