Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
8256:dba0037e6602 | 8257:79c874fe5100 |
---|---|
72 props = {}; | 72 props = {}; |
73 | 73 |
74 for i = 1 : numel (h) | 74 for i = 1 : numel (h) |
75 obj = get (h (i)); | 75 obj = get (h (i)); |
76 fldnames = fieldnames (obj); | 76 fldnames = fieldnames (obj); |
77 m = regexpi (fieldnames(obj), "^.datasource$", "match"); | 77 m = regexpi (fieldnames(obj), "^.+datasource$", "match"); |
78 idx = cellfun (@(x) !isempty(x), m); | 78 idx = cellfun (@(x) !isempty(x), m); |
79 if (any (idx)) | 79 if (any (idx)) |
80 props = [props; {cell2mat(m(idx))}]; | 80 props = [props; {cell2mat(m(idx))}]; |
81 objs = [objs ; h(i)]; | 81 objs = [objs ; h(i)]; |
82 endif | 82 endif |