[R] using split.screen? [Broadcast]

Wiener, Matthew matthew_wiener at merck.com
Tue Jul 18 16:45:10 CEST 2006


This means that the margins for 10 screens would take up more room than you
have - essentially the plot area is being squeezed to nothing.  You can try
reducing your margins using par.

Also, it looks like you're trying to split into 20 screens there.

Hope this helps,

Matt 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Bill Shipley
Sent: Tuesday, July 18, 2006 10:02 AM
To: R help list
Subject: [R] using split.screen? [Broadcast]

Hello.  I am having trouble understanding the use of split.screen.  I want
to divide the device surface first into 4 equal screens:
split.screen(figs=c(2,2))
 
This works.
 
I next want to subdivide each of these 4 screens into 10 subscreens.  I do,
for the first of these 4 screens:
 
screen(1,new=T)
and then: split.screen(figs=c(10,2))
 
My understanding is that this should split screen 1 (i.e. top right) into 10
screens within its area.  However, this does not work and I get the
following error message: Error in plot.new() : figure margins too large

Does anyone know what I am doing wrong? 
 

Bill Shipley

 

 

	[[alternative HTML version deleted]]

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list