diff scripts/plot/ribbon.m @ 7292:5e90111a28b3

[project @ 2007-12-11 18:13:34 by jwe]
author jwe
date Tue, 11 Dec 2007 18:15:06 +0000
parents 3fade00a6ac7
children eb7bdde776f2
line wrap: on
line diff
--- a/scripts/plot/ribbon.m
+++ b/scripts/plot/ribbon.m
@@ -55,7 +55,7 @@
       [x, y] = meshgrid (x, y);
     endif
   else
-    if (! all (size (x) == size (y)))
+    if (! size_equal(x, y))
       error ("ribbon: in case of matrices, X and Y must have same size")
     endif
   endif