help-octave
[Top][All Lists]
Advanced

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

Re: unwanted multiple plots


From: Dmitri A. Sergatskov
Subject: Re: unwanted multiple plots
Date: Thu, 04 Mar 2004 13:51:24 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Hugo Coolens wrote:


here is the code which is executed after the following two commands:
gset term postscript
gset output "out.ps"


a=[1];
b=[1 1];
fs=1000;
time=0:1/fs:40e-3;
x=sin(2*pi*200*time);
y=filter(b,a,x);
stem(time,y)


You should have some plot commands, shouldn't you?

Which gnuplot version do you use? If it is 3.8j (i.e. not the latest 3.8k.1 or 
3.7.3),
then the problem may be related to this:

http://www.octave.org/octave-lists/archive/help-octave.2004/msg00239.html
(and links therein)

The quick workaround is to add sleep(1) between consecutive plot() commands.

Regards,

Dmitri.



-------------------------------------------------------------
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]