diff scripts/plot/scatter3.m @ 7208:a730e47fda4d

[project @ 2007-11-28 02:32:41 by jwe]
author jwe
date Wed, 28 Nov 2007 02:32:42 +0000
parents e8d953d03f6a
children dd88d61d443f
line wrap: on
line diff
--- a/scripts/plot/scatter3.m
+++ b/scripts/plot/scatter3.m
@@ -58,7 +58,7 @@
   if (nargin < 2)
     print_usage ();
   elseif (isscalar (varargin{1}) && ishandle (varargin{1}))
-    h = varargin {1};
+    h = varargin{1};
     if (! strcmp (get (h, "type"), "axes"))
       error ("scatter3: expecting first argument to be an axes object");
     endif