par(mfrow=c(2,2)) is trying to open a 2*2 figures in one window,
so you could see your v1,..v4 in one windows at the same time

if you want they plot separately then you could use x11() for each plot()

Chunhao

Quoting Alessandro <[EMAIL PROTECTED]>:

Hi I have a problem with par(mfrow=c(2,2)) code, because I don’t understand
this:



par(mfrow=c(2,2))

plot(v1)

plot(v2)

plot(v3)

plot(v4)



it opens a v1 window and after close that window to open next v2 plot



Da: stephen sefick [mailto:[EMAIL PROTECTED]
Inviato: venerdì 25 luglio 2008 12.13
A: [EMAIL PROTECTED]
Cc: Alessandro; r-help@r-project.org
Oggetto: Re: [R] create multi windows plot at the same time



or quartz() or windows()
you could also use
par(mfrow=c(2,2))

On Fri, Jul 25, 2008 at 3:05 PM, <[EMAIL PROTECTED]> wrote:

Hi, you only need to add x11() in front of plot();
such as
x11()
Plot(v1)
x11()
Plot(v2)
......
then R will open multi windows for you

Chunhao



Quoting Alessandro <[EMAIL PROTECTED]>:

Ciao All



I'd like to generate 4 windows plot to compare different relationship at the
same time in R. Each plot code is :



Plot(v1)

Plot(v2)

Plot(v4)

Plot(v4)



But I did not find a right code in R.



Ale


       [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.


______________________________________________
R-help@r-project.org 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.




--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis



______________________________________________
R-help@r-project.org 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.

Reply via email to