diff scripts/plot/slice.m @ 15009:6239f5806c26

Fix typos introduced by changeset 5d3a684236b0. * slice.m, uigetfile.m, uiputfile.m: Fix typos introduced by changeset 5d3a684236b0.
author Rik <rik@octave.org>
date Tue, 24 Jul 2012 13:38:58 -0700
parents 5d3a684236b0
children f8b485d09ac6
line wrap: on
line diff
--- a/scripts/plot/slice.m
+++ b/scripts/plot/slice.m
@@ -104,7 +104,7 @@
     x = varargin{1};
     y = varargin{2};
     z = varargin{3};
-    if (isvector (x) && isvector (y) && isvector (z)]))
+    if (isvector (x) && isvector (y) && isvector (z))
       [x, y, z] = meshgrid (x, y, z);
     elseif (ndims (x) == 3 && size_equal (x, y, z))
       ## Do nothing.