diff 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
line wrap: on
line diff
--- a/scripts/plot/refreshdata.m
+++ b/scripts/plot/refreshdata.m
@@ -103,5 +103,5 @@
 %! for i = 1 : 100
 %!   pause(0.1)
 %!   y = sin (x + 0.1 * i);
-%!   refreshdata();
+%!   refreshdata(gcf(), "caller");
 %! endfor