diff scripts/geometry/griddata.m @ 11588:d5bd2766c640

style fixes for warning and error messages in script files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:51:13 -0500
parents 3c6e8aaa9555
children 72c96de7a403
line wrap: on
line diff
--- a/scripts/geometry/griddata.m
+++ b/scripts/geometry/griddata.m
@@ -55,9 +55,9 @@
     [x, y] = meshgrid (x, y);
   elseif (! all (size (x) == size (y) & size (x) == size (z)))
     if (isvector (z))
-      error ("griddata: X, Y, and Z, be vectors of same length.");
+      error ("griddata: X, Y, and Z, be vectors of same length");
     else
-      error ("griddata: lengths of X, Y must match the columns and rows of Z.");
+      error ("griddata: lengths of X, Y must match the columns and rows of Z");
     endif
   endif