Mercurial > hg > octave-lyh
diff scripts/plot/mesh.m @ 6156:a46f14cdbecd
[project @ 2006-11-13 19:20:23 by jwe]
author | jwe |
---|---|
date | Mon, 13 Nov 2006 19:20:23 +0000 |
parents | 08f0dabf17b9 |
children | 57aeb18f161d |
line wrap: on
line diff
--- a/scripts/plot/mesh.m +++ b/scripts/plot/mesh.m @@ -50,8 +50,7 @@ error (msg); endif elseif (ismatrix (x) && ismatrix (y) && ismatrix (z)) - if (ndims (x) != ndims (y) || ndims (x) != ndims (z) - || size (x) != size (y) || size (x) != size (z)) + if (! (size_equal (x, y) && size_equal (x, z))) error ("mesh: x, y, and z must have same dimensions"); endif else