Mercurial > hg > octave-lyh
comparison scripts/plot/__area__.m @ 8079:082fa7859574
Additional do not call set with empty arguments fixes
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 02 Sep 2008 14:52:28 -0400 |
parents | a028a5960e18 |
children | cadc73247d65 |
comparison
equal
deleted
inserted
replaced
8078:4665276ff7f6 | 8079:082fa7859574 |
---|---|
61 addlistener (hg, "facecolor", @update_props); | 61 addlistener (hg, "facecolor", @update_props); |
62 | 62 |
63 addproperty ("areagroup", hg, "data"); | 63 addproperty ("areagroup", hg, "data"); |
64 set (retval, "areagroup", retval); | 64 set (retval, "areagroup", retval); |
65 | 65 |
66 set (hg, args{:}); | 66 if (! isempty (args)) |
67 set (hg, args{:}); | |
68 endif | |
67 endfor | 69 endfor |
68 | 70 |
69 endfunction | 71 endfunction |
70 | 72 |
71 function update_props (h, d) | 73 function update_props (h, d) |