Mercurial > hg > octave-nkf
diff scripts/plot/subplot.m @ 6765:e6b528a3a2a9
[project @ 2007-06-28 15:25:43 by jwe]
author | jwe |
---|---|
date | Thu, 28 Jun 2007 15:25:44 +0000 |
parents | 2110cc251779 |
children | d069de22e9aa |
line wrap: on
line diff
--- a/scripts/plot/subplot.m +++ b/scripts/plot/subplot.m @@ -120,6 +120,13 @@ found = false; for child = obj.children + ## Check if this child is still valid; this might not be the case + ## anymore due to the deletion of previous children (due to DeleteFcn + ## callback or for legends/colorbars that get deleted with their + ## corresponding axes) + if (! ishandle (child)) + continue; + endif obj = get (child); if (strcmp (obj.type, "axes")) objpos = obj.outerposition;