Mercurial > octave-nkf
diff scripts/plot/refreshdata.m @ 10439:59967776ed4a
make refreshdata work again
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 23 Mar 2010 17:46:26 -0400 |
parents | c539ec5726e7 |
children | 95c3e38098bf |
line wrap: on
line diff
--- a/scripts/plot/refreshdata.m Tue Mar 23 15:06:33 2010 -0400 +++ b/scripts/plot/refreshdata.m Tue Mar 23 17:46:26 2010 -0400 @@ -82,7 +82,8 @@ m = regexpi (fieldnames(obj), "^.+datasource$", "match"); idx = cellfun (@(x) !isempty(x), m); if (any (idx)) - props = [props; {cell2mat(m(idx))}]; + tmp = m(idx); + props = [props; {vertcat(tmp{:})}]; objs = [objs ; h(i)]; endif endfor