diff scripts/plot/__plr2__.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 44c91c5dfe1d
line wrap: on
line diff
--- a/scripts/plot/__plr2__.m	Mon Nov 13 19:20:23 2006 +0000
+++ b/scripts/plot/__plr2__.m	Mon Nov 13 22:22:54 2006 +0000
@@ -107,7 +107,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 ("__plr2__: matrix dimensions must match");
       endif
       x = rho .* cos (theta);