Message-ID: <Pine.LNX.4.58.0402051814010.23202@bayes.speech.kth.se>
Date: 2004-02-05T17:15:22Z
From: Giampiero Salvi
Subject: multiple plots in different windows
In-Reply-To: <Pine.LNX.4.58.0402051701380.23202@bayes.speech.kth.se>
Don't need to answer to my previous post: I found the functions in the
meantime:
dev.cur()
dev.list()
dev.next(which = dev.cur())
dev.prev(which = dev.cur())
dev.off(which = dev.cur())
dev.set(which = dev.next())
graphics.off()
Thanks anyway,
Giampiero
On Thu, 5 Feb 2004, Giampiero Salvi 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) ?
> 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
>