diff -r d4565e812948 scripts/plot/plot3.m --- a/scripts/plot/plot3.m Wed May 21 22:27:07 2008 +0200 +++ b/scripts/plot/plot3.m Sun Jun 01 14:05:02 2008 +0200 @@ -269,9 +269,9 @@ y = y(:); z = z(:); elseif (length (x) == rows (z) && length (y) == columns (z)) + [x, y] = meshgrid (x, y); + else error ("plot3: [length(x), length(y)] must match size(z)"); - else - [x, y] = meshgrid (x, y); endif endif