Mercurial > hg > octave-lyh
diff scripts/plot/plot3.m @ 6157:045038e0108a
[project @ 2006-11-13 22:22:53 by jwe]
author | jwe |
---|---|
date | Mon, 13 Nov 2006 22:22:54 +0000 |
parents | 1a6d826e92b5 |
children | 2de853a110df |
line wrap: on
line diff
--- a/scripts/plot/plot3.m +++ b/scripts/plot/plot3.m @@ -213,7 +213,7 @@ endif endif - if (any (size (x) != size (y)) || any (size (x) != size (z))) + if (! size_equal (x, y) || ! size_equal (x, z)) error ("plot3: x, y, and z must have the same shape"); endif @@ -251,7 +251,7 @@ endif endif - if (any (size (x) != size (y)) || any (size (x) != size (z))) + if (! size_equal (x, y) || ! size_equal (x, z)) error ("plot3: x, y, and z must have the same shape"); endif @@ -303,7 +303,7 @@ endif endif - if (any (size (x) != size (y)) || any (size (x) != size (z))) + if (! size_equal (x, y) || ! size_equal (x, z)) error ("plot3: x, y, and z must have the same shape"); endif