help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plotting, again


From: Steve C. Thompson
Subject: Re: Plotting, again
Date: Thu, 22 Mar 2007 09:05:22 -0700

On Thu, 2007-03-22 at 02:36 -0700, olleorama wrote:
> I want to plot several plots, like I would do in matlab:
>
> for i=1:whatever
>          figure(i)
>          plot(x,y)
> end
>
> The problem is that gnuplot closes the previous plot before it
> makes a new one.

clear
closeplot

for i = 1 : 5
  figure (i);
  clearplot
  plot (rand (1, 10));
end

Steve



reply via email to

[Prev in Thread] Current Thread [Next in Thread]