diff scripts/plot/mesh.m @ 5215:32c569794216

[project @ 2005-03-16 18:54:42 by jwe]
author jwe
date Wed, 16 Mar 2005 18:54:52 +0000
parents eecc24b92d97
children 3d9afb170a39
line wrap: on
line diff
--- a/scripts/plot/mesh.m	Wed Mar 16 17:14:12 2005 +0000
+++ b/scripts/plot/mesh.m	Wed Mar 16 18:54:52 2005 +0000
@@ -41,14 +41,14 @@
   if (nargin == 1)
     z = x;
     if (ismatrix (z))
-      __gset__ hidden3d;
-      __gset__ data style lines;
-      __gset__ surface;
-      __gset__ nocontour;
-      __gset__ noparametric;
-      __gset__ nologscale;
-      __gset__ view 60, 30, 1, 1
-      __gsplot__ (z');
+      __gnuplot_set__ hidden3d;
+      __gnuplot_set__ data style lines;
+      __gnuplot_set__ surface;
+      __gnuplot_set__ nocontour;
+      __gnuplot_set__ noparametric;
+      __gnuplot_set__ nologscale;
+      __gnuplot_set__ view 60, 30, 1, 1
+      __gnuplot_splot__ (z');
     else
       error ("mesh: argument must be a matrix");
     endif
@@ -69,15 +69,15 @@
           zz(:,i+2) = z(:,k);
           k++;
         endfor
-        __gset__ hidden3d;
-        __gset__ data style lines;
-        __gset__ surface;
-        __gset__ nocontour;
-        __gset__ nologscale;
-        __gset__ parametric;
-        __gset__ view 60, 30, 1, 1
-        __gsplot__ (zz);
-        __gset__ noparametric;
+        __gnuplot_set__ hidden3d;
+        __gnuplot_set__ data style lines;
+        __gnuplot_set__ surface;
+        __gnuplot_set__ nocontour;
+        __gnuplot_set__ nologscale;
+        __gnuplot_set__ parametric;
+        __gnuplot_set__ view 60, 30, 1, 1
+        __gnuplot_splot__ (zz);
+        __gnuplot_set__ noparametric;
       else
         msg = "mesh: rows (z) must be the same as length (y) and";
         msg = sprintf ("%s\ncolumns (z) must be the same as length (x)", msg);
@@ -97,15 +97,15 @@
           zz(:,i+2) = z(:,k);
           k++;
         endfor
-        __gset__ hidden3d;
-        __gset__ data style lines;
-        __gset__ surface;
-        __gset__ nocontour;
-        __gset__ nologscale;
-        __gset__ parametric;
-        __gset__ view 60, 30, 1, 1
-        __gsplot__ (zz);
-        __gset__ noparametric;
+        __gnuplot_set__ hidden3d;
+        __gnuplot_set__ data style lines;
+        __gnuplot_set__ surface;
+        __gnuplot_set__ nocontour;
+        __gnuplot_set__ nologscale;
+        __gnuplot_set__ parametric;
+        __gnuplot_set__ view 60, 30, 1, 1
+        __gnuplot_splot__ (zz);
+        __gnuplot_set__ noparametric;
       else
         error ("mesh: x, y, and z must have same dimensions");
       endif