comparison scripts/plot/refreshdata.m @ 8260:a7b83ced7a7a

Fix for refreshdata demo
author David Bateman <dbateman@free.fr>
date Wed, 22 Oct 2008 13:10:52 +0100
parents 79c874fe5100
children dbd0c77e575e
comparison
equal deleted inserted replaced
8259:dad9a322c639 8260:a7b83ced7a7a
101 %! y = sin (x); 101 %! y = sin (x);
102 %! plot (x, y, "ydatasource", "y"); 102 %! plot (x, y, "ydatasource", "y");
103 %! for i = 1 : 100 103 %! for i = 1 : 100
104 %! pause(0.1) 104 %! pause(0.1)
105 %! y = sin (x + 0.1 * i); 105 %! y = sin (x + 0.1 * i);
106 %! refreshdata(); 106 %! refreshdata(gcf(), "caller");
107 %! endfor 107 %! endfor