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

[project @ 2002-08-09 18:58:13 by jwe]
author jwe
date Fri, 09 Aug 2002 19:00:16 +0000
parents c8c1ead8474f
children c3bb286a18a9
line wrap: on
line diff
--- a/scripts/plot/contour.m
+++ b/scripts/plot/contour.m
@@ -42,13 +42,13 @@
     else
       n = y; 
     endif
-    if (is_matrix (z))
+    if (ismatrix (z))
       gset nosurface;
       gset contour;
       gset cntrparam bspline;
-      if (is_scalar (n))
+      if (isscalar (n))
         command = sprintf ("gset cntrparam levels %d", n);
-      elseif (is_vector (n))
+      elseif (isvector (n))
         tmp = sprintf ("%f", n(1));
         for i = 2:length (n)
           tmp = sprintf ("%s, %f", tmp, n(i));
@@ -66,7 +66,7 @@
     if (nargin == 3)
       n = 10;
     endif
-    if (is_vector (x) && is_vector (y) && is_matrix (z))
+    if (isvector (x) && isvector (y) && ismatrix (z))
       xlen = length (x);
       ylen = length (y);
       if (xlen == rows (z) && ylen == columns (z))
@@ -85,9 +85,9 @@
         gset nosurface;
         gset contour;
         gset cntrparam bspline;
-        if (is_scalar (n))
+        if (isscalar (n))
           command = sprintf ("gset cntrparam levels %d", n);
-        elseif (is_vector (n))
+        elseif (isvector (n))
           tmp = sprintf ("%f", n(1));
           for i = 2:length (n)
             tmp = sprintf ("%s, %f", tmp, n(i));