Mercurial > octave-nkf
diff scripts/plot/__plr__.m @ 6157:045038e0108a
[project @ 2006-11-13 22:22:53 by jwe]
author | jwe |
---|---|
date | Mon, 13 Nov 2006 22:22:54 +0000 |
parents | 34f96dd5441b |
children |
line wrap: on
line diff
--- a/scripts/plot/__plr__.m Mon Nov 13 19:20:23 2006 +0000 +++ b/scripts/plot/__plr__.m Mon Nov 13 22:22:54 2006 +0000 @@ -121,7 +121,7 @@ y = diag_r * sin (theta); __plt__ ("polar", x, y, fmt); elseif (ismatrix (rho)) - if (size (rho) != size (theta)) + if (! size_equal (rho, theta)) error ("polar: matrix dimensions must match"); endif x = rho .* cos (theta);