octave-maintainers
[Top][All Lists]
Advanced

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

Re: [changeset] - improve clf() compatibility


From: David Bateman
Subject: Re: [changeset] - improve clf() compatibility
Date: Wed, 22 Oct 2008 04:44:56 +0100
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

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                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)


reply via email to

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