-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Rodrigo Tsai
Sent: Tuesday, February 14, 2006 1:31 PM
To: Prof Brian Ripley
Cc: R-help at stat.math.ethz.ch
Subject: Re: [R] figs parameter for split.screen()
Dear Prof Brian Ripley,
Many thanks for your help. Before trying to split.screen
(1x2) I had set the
"mar" parameter in par( ) in order to move each graph of another (2x1)
splitted figure. This setting might have caused the problem.
Now it works.
Best regards,
Rodrigo.
On 2/14/06, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
On Tue, 14 Feb 2006, Rodrigo Tsai wrote:
Dear all,
I would be pleased if anyone could help me.
The Rhelp description for the figs parameter is "a
describing
the number of rows and colunns in a screen matrix".
So, why does my code (below) produce a 2x1 screen matrix
Does it? There is no way we can reproduce it as it is
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
sense to select a screen and then move to the next frame.
Thanks in advance,
rodrigo.
-----------------------------------------------------------
plot.new()
split.screen(figs=c(1,2))
screen(1)
plot.new()
plot(v16[vd==0], vdep[vd==0], bg="aliceblue", cex= 0.5,
xlab="Age",ylab="AvWei", main="", ylim=c(x1,xn), cex.lab=1.1)
title(main = "Female", cex.main = 1.1 , font.main = 1, col.main =
screen(2)
plot.new()
plot(v16[vd==1], vdep[vd==1], bg="aliceblue", cex= 0.5,
xlab="Age",ylab="AvWei", main="", ylim=c(x1,xn), cex.lab=1.1)
title(main = "Male", cex.main = 1.1 , font.main = 1,
*----------------------------------------------------------- *
**
[[alternative HTML version deleted]]