Mercurial > hg > octave-nkf
diff scripts/plot/close.m @ 5443:ec8c33dcd1bf
[project @ 2005-09-08 01:40:57 by jwe]
author | jwe |
---|---|
date | Thu, 08 Sep 2005 01:40:58 +0000 |
parents | 4c8a2e4e0717 |
children | 34f96dd5441b |
line wrap: on
line diff
--- a/scripts/plot/close.m +++ b/scripts/plot/close.m @@ -40,7 +40,7 @@ endif closeplot; elseif (nargin == 1) - if (isstr (arg1)) + if (ischar (arg1)) if (strcmp (arg1, "all")) closeplot; else @@ -56,8 +56,8 @@ endif endif elseif (nargin == 2 - && isstr (arg1) && strcmp (arg1, "all") - && isstr (arg2) && strcmp (arg2, "hidden")) + && ischar (arg1) && strcmp (arg1, "all") + && ischar (arg2) && strcmp (arg2, "hidden")) closeplot; else usage ("close [all]");