[changeset] - improve clf() compatibility
David Bateman
dbateman at dbateman.org
Tue Oct 21 22:44:56 CDT 2008
John W. Eaton wrote:
> * The refreshdata demo does not seem to be working correctly for me.
> I'm seeing
>
> octave:1> demo refreshdata
> refreshdata example 1:
> x = 0:0.1:10;
> y = sin (x);
> plot (x, y, "ydatasource", "y");
> for i = 1 : 100
> pause(0.1)
> y = sin (x + 0.1 * i);
> refreshdata();
> endfor
>
> refreshdata example 1: failed
> `y' undefined near line 0 column 1octave:2>
Strange, run from the command line as
x=0:0.1:10;y=sin(x); plot(x,y,"ydatasource","y"); for i = 1:100,
pause(0.1); y = sin(x + 0.1*x); refreshdata(); endfor
it works fine.. Not sure yet what is going on here.
D.
--
David Bateman dbateman at dbateman.org
35 rue Gambetta +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob)
More information about the Octave-maintainers
mailing list