Mercurial > octave-nkf
diff scripts/plot/private/__quiver__.m @ 11589:b0084095098e
missing semicolons in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:26:09 -0500 |
parents | c792872f8942 |
children | 4040a95a586d |
line wrap: on
line diff
--- a/scripts/plot/private/__quiver__.m Thu Jan 20 17:51:13 2011 -0500 +++ b/scripts/plot/private/__quiver__.m Thu Jan 20 18:26:09 2011 -0500 @@ -42,7 +42,7 @@ u = varargin{ioff++}; v = varargin{ioff++}; if (is3d) - w = varargin{ioff++} + w = varargin{ioff++}; [x, y, z] = meshgrid (1:size(u,2), 1:size(u,1), 1:max(size(w))); else [x, y] = meshgrid (1:size(u,2), 1:size(u,1)); @@ -275,15 +275,15 @@ ## Set up the hggroup properties and listeners if (autoscale) addproperty ("autoscale", hg, "radio", "{on}|off", "on"); - addproperty ("autoscalefactor", hg, "data", autoscale) + addproperty ("autoscalefactor", hg, "data", autoscale); else addproperty ("autoscale", hg, "radio", "{on}|off", "off"); - addproperty ("autoscalefactor", hg, "data", 1.0) + addproperty ("autoscalefactor", hg, "data", 1.0); endif - addlistener (hg, "autoscale", @update_data) - addlistener (hg, "autoscalefactor", @update_data) + addlistener (hg, "autoscale", @update_data); + addlistener (hg, "autoscalefactor", @update_data); - addproperty ("maxheadsize", hg, "data", arrowsize) + addproperty ("maxheadsize", hg, "data", arrowsize); addlistener (hg, "maxheadsize", @update_data); addproperty ("showarrowhead", hg, "radio", "{on}|off", "on");