diff scripts/plot/grid.m @ 5252:3d9afb170a39

[project @ 2005-03-28 18:40:35 by jwe]
author jwe
date Mon, 28 Mar 2005 18:40:35 +0000
parents 32c569794216
children 6b91c98e3db0
line wrap: on
line diff
--- a/scripts/plot/grid.m
+++ b/scripts/plot/grid.m
@@ -38,15 +38,15 @@
   do_replot = false;
 
   if (nargin == 0)
-    __gnuplot_set__ grid;
+    __gnuplot_raw__ ("set grid;\n");
     do_replot = true;
   elseif (nargin == 1)
     if (isstr (x))
       if (strcmp ("off", x))
-        __gnuplot_set__ nogrid;
+        __gnuplot_raw__ ("set nogrid;\n");
 	do_replot = true;
       elseif (strcmp ("on", x))
-        __gnuplot_set__ grid;
+        __gnuplot_raw__ ("set grid");
 	do_replot = true;
       else
 	usage (usage_msg);