diff scripts/image/colormap.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 611e30b984b3
line wrap: on
line diff
--- a/scripts/image/colormap.m	Wed Sep 07 21:42:26 2005 +0000
+++ b/scripts/image/colormap.m	Thu Sep 08 01:40:58 2005 +0000
@@ -47,7 +47,7 @@
 
   if (nargin == 1)
 
-    if (isstr (map))
+    if (ischar (map))
       if (strcmp (map, "default"))
         map = gray ();
       else