diff scripts/plot/grid.m @ 5214:eecc24b92d97

[project @ 2005-03-16 17:14:12 by jwe]
author jwe
date Wed, 16 Mar 2005 17:14:12 +0000
parents b111ca4715c6
children 32c569794216
line wrap: on
line diff
--- a/scripts/plot/grid.m
+++ b/scripts/plot/grid.m
@@ -25,7 +25,7 @@
 ## @end deftypefn
 ##
 ## @seealso{plot, semilogx, semilogy, loglog, polar, mesh, contour,
-## bar, stairs, gplot, gsplot, replot, xlabel, ylabel, and title}
+## bar, stairs, replot, xlabel, ylabel, and title}
 
 ## Author: jwe
 
@@ -38,15 +38,15 @@
   do_replot = false;
 
   if (nargin == 0)
-    gset grid;
+    __gset__ grid;
     do_replot = true;
   elseif (nargin == 1)
     if (isstr (x))
       if (strcmp ("off", x))
-        gset nogrid;
+        __gset__ nogrid;
 	do_replot = true;
       elseif (strcmp ("on", x))
-        gset grid;
+        __gset__ grid;
 	do_replot = true;
       else
 	usage (usage_msg);
@@ -59,7 +59,7 @@
   endif
 
   if (do_replot && automatic_replot)
-    replot
+    replot ();
   endif
 
 endfunction