diff scripts/plot/__errcomm__.m @ 4030:22bd65326ec1

[project @ 2002-08-09 18:58:13 by jwe]
author jwe
date Fri, 09 Aug 2002 19:00:16 +0000
parents ca18dc3d5596
children 0493a367de6f
line wrap: on
line diff
--- a/scripts/plot/__errcomm__.m
+++ b/scripts/plot/__errcomm__.m
@@ -46,9 +46,9 @@
     while (nargin)
       a = varargin{k++};
       nargin--;
-      if (is_vector (a))
+      if (isvector (a))
         a = a(:);
-      elseif (is_matrix (a))
+      elseif (ismatrix (a))
         ;
       else
         usage ("%s (...)", caller);
@@ -67,9 +67,9 @@
 	  endfor
 	  eval (sprintf ("%s, fmt);", cmd));
 	  break;
-	elseif (is_vector (a))
+	elseif (isvector (a))
 	  a = a(:);
-	elseif (is_matrix (a))
+	elseif (ismatrix (a))
 	  ;
 	else
 	  error ("wrong argument types");