Skip to content

figs parameter for split.screen()

4 messages · Brian Ripley, Rodrigo Tsai, Bert Gunter

#
On Tue, 14 Feb 2006, Rodrigo Tsai wrote:

            
Does it? There is no way we can reproduce it as it is incomplete, but

split.screen(figs=c(1,2))
screen(1)
plot(1:2)
screen(2)
plot(10:1)

does produce a 1x2 layout.

Perhaps your error is call plot.new() in a subdivided layout: it makes no 
sense to select a screen and then move to the next frame.

  
    
#
You may find that ?layout is an easier way to handle multiple plots on the
screen (I do), if you are not already aware of it.

-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box