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

[project @ 2007-11-28 02:32:41 by jwe]
author jwe
date Wed, 28 Nov 2007 02:32:42 +0000
parents 6e4ceeeb1940
children dd88d61d443f
line wrap: on
line diff
--- a/scripts/plot/plotyy.m	Wed Nov 28 02:20:48 2007 +0000
+++ b/scripts/plot/plotyy.m	Wed Nov 28 02:32:42 2007 +0000
@@ -56,7 +56,7 @@
 function [Ax, H1, H2] = plotyy (varargin)
 
   if (isscalar (varargin{1}) && ishandle (varargin{1}))
-    ax = varargin {1};
+    ax = varargin{1};
     if (! strcmp (get (ax, "type"), "axes"))
       error ("plotyy: expecting first argument to be an axes object");
     endif