[R] multiple plots in different windows

Giampiero Salvi giampi at speech.kth.se
Thu Feb 5 17:29:54 CET 2004


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) ?
Second question: what are the corresponding commands for the matlab
'figure(n)' to activate a certain figure and 'close(1:n)' to close
several figures at once?

Thank you,
Giampiero




More information about the R-help mailing list