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

[project @ 2007-11-28 02:32:41 by jwe]
author jwe
date Wed, 28 Nov 2007 02:32:42 +0000
parents bd56a0609c4f
children dd88d61d443f
line wrap: on
line diff
--- a/scripts/plot/__axes_limits__.m	Wed Nov 28 02:20:48 2007 +0000
+++ b/scripts/plot/__axes_limits__.m	Wed Nov 28 02:32:42 2007 +0000
@@ -23,7 +23,7 @@
   fcnmode = sprintf("%smode", fcn);
 
   if (nargin > 1 && isscalar (varargin{1}) && ishandle (varargin{1}))
-    h = varargin {1};
+    h = varargin{1};
     off = 1;
     if (! strcmp (get (h, "type"), "axes"))
       error ("%s: expecting first argument to be an axes object", fcn);
@@ -36,7 +36,7 @@
   if (nargin == off + 1)
     retval = get (h, fcn);
   else
-    arg = varargin {off + 1};
+    arg = varargin{off + 1};
 
     if (ischar (arg))
       arg = tolower (arg);