[R] multiple plots in different windows

Bernardo Rangel Tura tura at centroin.com.br
Fri Feb 6 09:42:12 CET 2004


At 14:29 05-02-2004, you wrote:

>Hi all,
>I'd like to generate a number of plots to compare different
>vectors I have stored in a list. To do this I do something like
>(in a linux system):
>
>for(i in 1:L) {
> X11()
> plot(listOfFunctions[[i]])
>}
>
>First question is: is this the right way to create several plots (in
>different windows) ?

Hi 

I think wich the correct code is:

>for(i in 1:L) {
>windows()
> plot(listOfFunctions[[i]])
>}

This work in my computer.

I dont know thje answer for your second question


Best wishes

Bernardo Rangel Tura, MD, MSc
National Institute of Cardiology Laranjeiras
Rio de Janeiro Brazil  


More information about the R-help mailing list