Mercurial > hg > octave-max
diff scripts/plot/plotmatrix.m @ 8190:73d6b71788c0
use case-insensitive comparison for graphics properties; misc style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 06 Oct 2008 21:06:05 -0400 |
parents | 86568be36992 |
children | dbd0c77e575e |
line wrap: on
line diff
--- a/scripts/plot/plotmatrix.m +++ b/scripts/plot/plotmatrix.m @@ -102,10 +102,10 @@ for i = 1 : numel (ax) hc = ax(i); if (ishandle (hc) && strcmp (get (hc, "type"), "axes") && - strcmp (get (hc, "beingdeleted"), "off")) + strcmpi (get (hc, "beingdeleted"), "off")) parent = get (hc, "parent"); ## If the parent is invalid or being deleted, then do nothing - if (ishandle (parent) && strcmp (get (parent, "beingdeleted"), "off")) + if (ishandle (parent) && strcmpi (get (parent, "beingdeleted"), "off")) delete (hc); endif endif