Mercurial > hg > octave-nkf
diff scripts/plot/refreshdata.m @ 8257:79c874fe5100
More plot object updates
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 22 Oct 2008 04:30:17 +0100 |
parents | 3b53b25e2550 |
children | a7b83ced7a7a |
line wrap: on
line diff
--- a/scripts/plot/refreshdata.m +++ b/scripts/plot/refreshdata.m @@ -74,7 +74,7 @@ for i = 1 : numel (h) obj = get (h (i)); fldnames = fieldnames (obj); - m = regexpi (fieldnames(obj), "^.datasource$", "match"); + m = regexpi (fieldnames(obj), "^.+datasource$", "match"); idx = cellfun (@(x) !isempty(x), m); if (any (idx)) props = [props; {cell2mat(m(idx))}];