# HG changeset patch # User jwe # Date 1197409772 0 # Node ID d42d8c43d3e7786ad92a3a7d76f6220526795ee4 # Parent ec1f6f8baf9479ec43f8c97fb783d6b5b12699e6 [project @ 2007-12-11 21:49:31 by jwe] diff -r ec1f6f8baf94 -r d42d8c43d3e7 scripts/ChangeLog --- 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 + * 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. diff -r ec1f6f8baf94 -r d42d8c43d3e7 scripts/plot/surf.m --- 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); diff -r ec1f6f8baf94 -r d42d8c43d3e7 scripts/plot/surface.m --- 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