diff scripts/plot/scatter3.m @ 11429:4286b8b999ab

scatter3.m: Grid on by default for 3D plots.
author Ben Abbott <bpabbott@mac.com>
date Fri, 31 Dec 2010 08:06:51 -0500
parents a0dfd7e8e3e2
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/plot/scatter3.m
+++ b/scripts/plot/scatter3.m
@@ -71,7 +71,8 @@
   endif
 
   if (! ishold ())
-    set (get (tmp, "parent"), "view", [-37.5, 30]);
+    set (ax, "view", [-37.5, 30],
+         "xgrid", "on", "ygrid", "on", "zgrid", "on");
   endif
 
   if (nargout > 0)