diff scripts/plot/meshgrid.m @ 3709:c73bea82af94

[project @ 2000-08-02 02:23:26 by jwe]
author jwe
date Wed, 02 Aug 2000 02:23:30 +0000
parents 3234a698073a
children 63c75bc3db82
line wrap: on
line diff
--- a/scripts/plot/meshgrid.m
+++ b/scripts/plot/meshgrid.m
@@ -41,10 +41,10 @@
       xx = zeros (ylen, xlen);
       yy = zeros (ylen, xlen);
       if (columns (x) == 1)
-        x = x';
+        x = x.';
       endif
       if (rows (y) == 1)
-        y = y';
+        y = y.';
       endif
       for i = 1:ylen
         xx(i,:) = x;