diff scripts/plot/subplot.m @ 11589:b0084095098e

missing semicolons in script files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 18:26:09 -0500
parents c792872f8942
children dc11166fcddc
line wrap: on
line diff
--- a/scripts/plot/subplot.m
+++ b/scripts/plot/subplot.m
@@ -95,7 +95,7 @@
   elseif (! (isscalar (cols) && isscalar (rows)))
     error ("subplot: COLS, and ROWS must be scalars");
   elseif (any (index < 1) || any (index > rows*cols))
-    error ("subplot: INDEX value must be greater than 1 and less than ROWS*COLS")
+    error ("subplot: INDEX value must be greater than 1 and less than ROWS*COLS");
   endif
 
   cols = round (cols);
@@ -112,7 +112,7 @@
 
   units = get (0, "defaultaxesunits");
   unwind_protect
-    set (0, "defaultaxesunits", "normalized")
+    set (0, "defaultaxesunits", "normalized");
     pos = subplot_position (rows, cols, index, "position", units);
 
     cf = gcf ();