Mercurial > hg > octave-lyh
changeset 8532:4d884a016846
__quiver__.m: __quiver__.m: Fix auto-size of (x,y) coord.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 17 Jan 2009 11:41:25 -0500 |
parents | b01fef323c24 |
children | fb1b87ea4af9 |
files | scripts/ChangeLog scripts/plot/__quiver__.m |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2009-01-17 Steven Verstoep <isgoed@hotmail.com> + + * plot/__quiver__.m: __quiver__.m: Fix auto-size of (x,y) coord. + 2009-01-16 Daniel J Sebald <daniel.sebald@ieee.org> * plot/gnuplot_drawnow.m: Fix for handling options.
--- a/scripts/plot/__quiver__.m +++ b/scripts/plot/__quiver__.m @@ -40,9 +40,9 @@ v = varargin{ioff++}; if (is3d) w = varargin{ioff++} - [x, y, z] = meshgrid (1:size(u,1), 1:size(u,2), 1:max(size(w))); + [x, y, z] = meshgrid (1:size(u,2), 1:size(u,1), 1:max(size(w))); else - [x, y] = meshgrid (1:size(u,1), 1:size(u,2)); + [x, y] = meshgrid (1:size(u,2), 1:size(u,1)); endif if (nargin >= ioff && isnumeric (varargin{ioff}) && isscalar (varargin{ioff}))