Mercurial > hg > octave-nkf
diff scripts/plot/__patch__.m @ 7160:db85cf23875e
[project @ 2007-11-12 16:51:47 by jwe]
author | jwe |
---|---|
date | Mon, 12 Nov 2007 16:51:48 +0000 |
parents | e31f12bb9194 |
children | e8d953d03f6a |
line wrap: on
line diff
--- a/scripts/plot/__patch__.m +++ b/scripts/plot/__patch__.m @@ -114,7 +114,8 @@ else vert = [x(:), y(:)]; endif - faces = reshape (1:numel(x), size(x,2), size(x,1)); + faces = reshape (1:numel(x), rows (x), columns (x)); + faces = faces'; elseif (have_faces) nr = size (faces, 2); nc = size (faces, 1);