comparison scripts/plot/waitbar.m @ 14238:1facbe04b00c stable

Fix regression in 9fc597693b0b preventing updating of waitbar text string. * waitbar.m: Fix regression in 9fc597693b0b preventing updating of waitbar text string.
author Rik <octave@nomad.inbox5.com>
date Fri, 20 Jan 2012 17:40:30 -0800
parents 72c96de7a403
children 7a7ce92cff56
comparison
equal deleted inserted replaced
14209:846273dae16b 14238:1facbe04b00c
90 set (p, "xdata", [0; frac; frac; 0]); 90 set (p, "xdata", [0; frac; frac; 0]);
91 ax = findobj (h, "type", "axes"); 91 ax = findobj (h, "type", "axes");
92 if (ischar (msg) || iscellstr (msg)) 92 if (ischar (msg) || iscellstr (msg))
93 th = get (ax, "title"); 93 th = get (ax, "title");
94 curr_msg = get (th, "string"); 94 curr_msg = get (th, "string");
95 ## graphics handles always store data as column vectors
96 if (iscellstr (msg))
97 msg = msg(:);
98 endif
95 cmp = strcmp (msg, curr_msg); 99 cmp = strcmp (msg, curr_msg);
96 if (all (cmp(:))) 100 if (! all (cmp(:)))
97 set (th, "string", msg); 101 set (th, "string", msg);
98 endif 102 endif
99 endif 103 endif
100 else 104 else
101 h = __go_figure__ (NaN, "position", [250, 500, 400, 100], 105 h = __go_figure__ (NaN, "position", [250, 500, 400, 100],