help-octave
[Top][All Lists]
Advanced

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

Re: Interaction between figure() and hold() in 2.1.50


From: Thorsten Meyer
Subject: Re: Interaction between figure() and hold() in 2.1.50
Date: Wed, 25 Feb 2004 20:22:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Hi,

as far as I know, gnuplot can redirect the plot output into different windows but gnuplot cannot really handle more than one plot at the same time. It can only redirect its output to different windows. The octave hold feature is realized using the gnuplot command replot which repeats the previous plot and adds a new plot on top. If this is no longer valid, I would be very much interested in the solution to your problem.

regards

Thorsten

Glenn Golden wrote:

Running 2.1.50, I'm trying to conceptually do the following:

   figure(1);   
   plot(foo1);

   figure(2);
   plot(bar1);

   figure(1);   
   plot(foo2);

   figure(2);
   plot(bar2);
        .
        .
        .

where I want to overlay foo1, foo2, ... in gnuplot window 1,
and overlay bar1, bar2, ... in gnuplot window 2.

I've tried every combinaion of hold(on/off), figure(1/2), plot(),
that I can think of, and I always wind up with either no "hold"
behavior at all (i.e., each window contains only the most recent
fooN or barN) or with both gnuplot windows showing identical plots
consisiting of all the fooN and barN plots overlaid in both windows.

I looked in the archives for answer to this, and found exactly
the same question in a posting on 14-Jul-2000, but there was no
response.

Tia,

Glenn



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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