Re: [R] Changing default order of plots in par

2013-03-09 Thread Brian Smith
Thanks Rui! That worked. On Sat, Mar 9, 2013 at 4:22 PM, Rui Barradas wrote: > Hello, > > Instead of mfrow use mfcol and the order becomes col by col. > > Hope this helps, > > Rui Barradas > > Em 09-03-2013 20:55, Brian Smith escreveu: > >> Hi, >> >> I wanted to change the order of how the plots

Re: [R] Changing default order of plots in par

2013-03-09 Thread Rui Barradas
Hello, Instead of mfrow use mfcol and the order becomes col by col. Hope this helps, Rui Barradas Em 09-03-2013 20:55, Brian Smith escreveu: Hi, I wanted to change the order of how the plots appear in a multiplot scenario. For example, in the code below: # pdf('test.pdf',width=8,height

[R] Changing default order of plots in par

2013-03-09 Thread Brian Smith
Hi, I wanted to change the order of how the plots appear in a multiplot scenario. For example, in the code below: # pdf('test.pdf',width=8,height=8) par(mfrow = c(2,2)) for(i in 1:2){ v1 <- sample(1:1000,50) v2 <- sample(1:1000,50) mat <- cbind(v1,v2) plot(v1,v2) boxplot(mat) }