Mercurial > octave-nkf
comparison scripts/plot/clf.m @ 11941:c2bfc6440e18 release-3-0-x
one more fix from M. Caliari
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 25 Mar 2009 15:09:48 +0100 |
parents | dabbfac27a45 |
children |
comparison
equal
deleted
inserted
replaced
11940:0d7e145c1ca4 | 11941:c2bfc6440e18 |
---|---|
69 else | 69 else |
70 ## Select only the chilren with visible handles. | 70 ## Select only the chilren with visible handles. |
71 hc = get (hfig, "children"); | 71 hc = get (hfig, "children"); |
72 endif | 72 endif |
73 | 73 |
74 set (hfig, "currentaxes", []); | |
74 ## Delete the children. | 75 ## Delete the children. |
75 delete (hc); | 76 for k = get (hfig, "children") |
76 | 77 if (ishandle (k)) |
78 delete (k); | |
79 endif | |
80 endfor | |
77 endfunction | 81 endfunction |