changeset 11427:dc983f92e774

contour3.m: Grid on be default for 3D plots.
author Ben Abbott <bpabbott@mac.com>
date Thu, 30 Dec 2010 20:18:15 -0500
parents c503ccbe5033
children 13f128bd6a6f
files scripts/ChangeLog scripts/plot/contour3.m scripts/plot/mesh.m scripts/plot/meshc.m scripts/plot/surfc.m
diffstat 5 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Dec 30 17:32:59 2010 -0500
+++ b/scripts/ChangeLog	Thu Dec 30 20:18:15 2010 -0500
@@ -1,5 +1,7 @@
 2010-12-30  Ben Abbott  <bpabbott@mac.com>
 
+	* plot/contour3.m, plot/mesh.m, plot/meshc.m, plot/surfc.m: Grid on
+	by default for 3D plots.
 	* plot/surfc.m, plot/meshc.m: Place contour for meshc/surfc at
 	zlim(1).
 	* plot/__go_draw_axes__.m: Tweak vertical alignment of text objects
--- a/scripts/plot/contour3.m	Thu Dec 30 17:32:59 2010 -0500
+++ b/scripts/plot/contour3.m	Thu Dec 30 20:18:15 2010 -0500
@@ -63,7 +63,8 @@
   end_unwind_protect
 
   if (! ishold ())
-    set (xh, "view", [-37.5, 30]);
+    set (xh, "view", [-37.5, 30],
+         "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif
 
   if (nargout > 0)
--- a/scripts/plot/mesh.m	Thu Dec 30 17:32:59 2010 -0500
+++ b/scripts/plot/mesh.m	Thu Dec 30 20:18:15 2010 -0500
@@ -50,7 +50,8 @@
   set (tmp, "edgecolor", "flat");
 
   if (! ishold ())
-    set (ax, "view", [-37.5, 30]);
+    set (ax, "view", [-37.5, 30],
+         "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif
 
   if (nargout > 0)
--- a/scripts/plot/meshc.m	Thu Dec 30 17:32:59 2010 -0500
+++ b/scripts/plot/meshc.m	Thu Dec 30 20:18:15 2010 -0500
@@ -39,7 +39,8 @@
   set (tmp, "edgecolor", "flat");
 
   if (! ishold ())
-    set (ax, "view", [-37.5, 30]);
+    set (ax, "view", [-37.5, 30],
+         "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif
 
   drawnow
--- a/scripts/plot/surfc.m	Thu Dec 30 17:32:59 2010 -0500
+++ b/scripts/plot/surfc.m	Thu Dec 30 20:18:15 2010 -0500
@@ -38,7 +38,8 @@
   set (tmp, "facecolor", "flat");
 
   if (! ishold ())
-    set (ax, "view", [-37.5, 30]);
+    set (ax, "view", [-37.5, 30],
+         "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif
 
   drawnow