changeset 7298:d42d8c43d3e7

[project @ 2007-12-11 21:49:31 by jwe]
author jwe
date Tue, 11 Dec 2007 21:49:32 +0000
parents ec1f6f8baf94
children df2c3977b0bf
files scripts/ChangeLog scripts/plot/surf.m scripts/plot/surface.m
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Dec 11 21:25:53 2007 +0000
+++ b/scripts/ChangeLog	Tue Dec 11 21:49:32 2007 +0000
@@ -1,5 +1,8 @@
 2007-12-11  John W. Eaton  <jwe@octave.org>
 
+	* plot/surf.m: Set xgrid, ygrid, and zgrid on here.
+	* plot/surface.m: Not here.
+
 	* plot/__go_draw_axes__.m: Always use "set grid front".  Send a
 	subsequent "unset grid" if there is no grid.
 
--- a/scripts/plot/surf.m	Tue Dec 11 21:25:53 2007 +0000
+++ b/scripts/plot/surf.m	Tue Dec 11 21:49:32 2007 +0000
@@ -40,7 +40,8 @@
     tmp = surface (varargin{:});
 
     if (! ishold ())
-      set (h, "view", [-37.5, 30]);
+      set (h, "view", [-37.5, 30],
+	   "xgrid", "on", "ygrid", "on", "zgrid", "on");
     endif
   unwind_protect_cleanup
     axes (oldh);
--- a/scripts/plot/surface.m	Tue Dec 11 21:25:53 2007 +0000
+++ b/scripts/plot/surface.m	Tue Dec 11 21:49:32 2007 +0000
@@ -151,8 +151,7 @@
 			other_args{:});
 
     if (! ishold ())
-      set (ax, "view", [0, 90], "box", "off", "xgrid", "on",
-	   "ygrid", "on", "zgrid", "on");
+      set (ax, "view", [0, 90], "box", "off");
     endif
   endif