diff doc/interpreter/interpimages.m @ 6723:8bfb4ff637e1

[project @ 2007-06-14 10:16:35 by dbateman]
author dbateman
date Thu, 14 Jun 2007 10:16:35 +0000
parents 01036667884a
children f11fec9c06b0
line wrap: on
line diff
--- a/doc/interpreter/interpimages.m	Thu Jun 14 10:13:16 2007 +0000
+++ b/doc/interpreter/interpimages.m	Thu Jun 14 10:16:35 2007 +0000
@@ -18,7 +18,7 @@
     xi = yi = zi = -1:0.1:1;
     [xxi, yyi, zzi] = ndgrid (xi, yi, zi);
     vi = interpn(x, y, z, v, xxi, yyi, zzi, 'spline');
-    mesh (yi, zi, squeeze (vi(1,:,:)));
+    mesh (zi, yi, squeeze (vi(1,:,:)));
     print (strcat (nm, ".", typ), strcat ("-d", typ))
   elseif (strcmp (nm, "interpderiv"))
     t = 0 : 0.3 : pi; dt = t(2)-t(1);