# HG changeset patch # User tailor@segfault.lan # Date 1198875851 0 # Node ID a18fac5c789dd3c7c13eaa770e530b869a8ecb72 # Parent 58f5fab3ebe5be60a39addd9b5bee8ac9e742836 Tailorization Import of the upstream sources from Repository: /scratch/jwe/mercurial/cvs Kind: cvs Module: octave Revision: 2007-12-28 21:04:11 by jwe diff -r 58f5fab3ebe5 -r a18fac5c789d scripts/ChangeLog --- a/scripts/ChangeLog Fri Feb 01 23:56:51 2008 -0500 +++ b/scripts/ChangeLog Fri Dec 28 21:04:11 2007 +0000 @@ -1,3 +1,8 @@ +2007-12-28 Kai Habel + + * plot/pcolor.m: Swap 1st and 2nd argument in call to meshgrid. + Remove unnecessary call of size function. + 2007-12-21 John W. Eaton Version 3.0.0 released. diff -r 58f5fab3ebe5 -r a18fac5c789d scripts/plot/pcolor.m --- a/scripts/plot/pcolor.m Fri Feb 01 23:56:51 2008 -0500 +++ b/scripts/plot/pcolor.m Fri Dec 28 21:04:11 2007 +0000 @@ -36,9 +36,9 @@ if (nargin == 1) c = x; - z = zeros (size (c)); - [nr, nc] = size (c); - [x, y] = meshgrid (1:nr, 1:nc); + [nr, nc] = size(c); + z = zeros (nr, nc); + [x, y] = meshgrid (1:nc, 1:nr); elseif (nargin == 3) z = zeros (size (c)); else