diff scripts/plot/waitbar.m @ 14249:27abe77158d6

Changes to allow plot demos to be converted and run by Matlab. * text.m, waitbar.m
author Ben Abbott <bpabbott@mac.com>
date Sun, 22 Jan 2012 13:47:15 -0500
parents 4506eade9f04
children 7a7ce92cff56
line wrap: on
line diff
--- a/scripts/plot/waitbar.m
+++ b/scripts/plot/waitbar.m
@@ -167,7 +167,7 @@
 %! h1 = waitbar (0, 'Waitbar #1');
 %! h2 = waitbar (0, 'Waitbar #2');
 %! h2pos = get (h2, 'position');
-%! h2pos(1) += (h2pos(3) + 50);
+%! h2pos(1) = h2pos(1) + (h2pos(3) + 50);
 %! set (h2, 'position', h2pos);
 %! pause (0.5);
 %! for i = 1:4