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

[project @ 2007-12-11 18:13:34 by jwe]
author jwe
date Tue, 11 Dec 2007 18:15:06 +0000
parents d65670971cbc
children 3b53b25e2550
line wrap: on
line diff
--- a/scripts/plot/plot3.m
+++ b/scripts/plot/plot3.m
@@ -167,7 +167,7 @@
 	endif
       endif
 
-      if (! size_equal (x, y) || ! size_equal (x, z))
+      if (! size_equal (x, y, z))
 	error ("plot3: x, y, and z must have the same shape");
       endif
 
@@ -211,7 +211,7 @@
 	endif
       endif
 
-      if (! size_equal (x, y) || ! size_equal (x, z))
+      if (! size_equal (x, y, z))
 	error ("plot3: x, y, and z must have the same shape");
       endif
 
@@ -275,7 +275,7 @@
       endif
     endif
 
-    if (! size_equal (x, y) || ! size_equal (x, z))
+    if (! size_equal (x, y, z))
       error ("plot3: x, y, and z must have the same shape");
     endif