diff scripts/plot/contourc.m @ 11499:8f23b6757225

Correction to contourc.m
author Michael Godfrey <godfrey@isl.stanford.edu>
date Thu, 13 Jan 2011 02:38:57 -0500
parents 1740012184f9
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/plot/contourc.m
+++ b/scripts/plot/contourc.m
@@ -65,6 +65,9 @@
   if (nargin == 1)
     vn = 10;
     z = varargin{1};
+    [nr, nc] = size (z);
+    x = 1:nc;
+    y = 1:nr;
   elseif (nargin == 2)
     vn = varargin{2};
     z = varargin{1};