For those that may have this question in the future, here are two solutions:
As suggested from David and Sarah,
One has to remove par function from defining screen splits, instead use
layout function.
For example:
layout(matrix(c(1,1,2,3),2,2,byrow=T))
which says, split the screen in 4 blocks,
On May 3, 2013, at 3:21 PM, Sarah Goslee wrote:
> Hi Aldi,
>
> You might want
> ?layout
> instead.
>
Indeed. In particular a matrix argument might be:
matrix(c(1,2,3, 4,4,4)
> Sarah
>
> On Fri, May 3, 2013 at 5:54 PM, Aldi Kraja wrote:
>> Hmm,
>> I had a typo paste by mistake in my x vect
Hi Aldi,
You might want
?layout
instead.
Sarah
On Fri, May 3, 2013 at 5:54 PM, Aldi Kraja wrote:
> Hmm,
> I had a typo paste by mistake in my x vector
> It has to be:
>
> x<-rnorm(1000,mean=0,sd=1)
> wheat1<-rnorm(100,mean=0,sd=1)
> wheat2<-rnorm(150,mean=0,sd=2)
> tomatos3<-rnorm(200,mean=0,sd
Hmm,
I had a typo paste by mistake in my x vector
It has to be:
x<-rnorm(1000,mean=0,sd=1)
wheat1<-rnorm(100,mean=0,sd=1)
wheat2<-rnorm(150,mean=0,sd=2)
tomatos3<-rnorm(200,mean=0,sd=3)
tomatos4<-rnorm(250,mean=0,sd=4)
cucumbers5<-rnorm(300,mean=0,sd=5)
cucumbers6<-rnorm(400,mean=0,sd=6)
par(mfro
Hi,
Based on par function, I can split the screen into two parts left and
right.
I wish x occupies the half left screen, and all plants occupy half right
screen, which happens right now.
But I wish the right screen, to be split in 3 or more vertical parts
where each pair of the same type of
5 matches
Mail list logo