# HG changeset patch # User Ben Abbott # Date 1293800811 18000 # Node ID 4286b8b999ab00b90bf5ed06373a3884d064f409 # Parent 13f128bd6a6f5b313d5bc031d0e381a2740a6ad5 scatter3.m: Grid on by default for 3D plots. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -4,6 +4,10 @@ * general/module.mk: Add new file to list. * miscellaneous/unimplemented.m: Remove curl and divergence from list. +2010-12-31 Ben Abbott + + * plot/scatter3.m: Grid on by default for 3D plots. + 2010-12-30 Ben Abbott * plot/contour3.m, plot/mesh.m, plot/meshc.m, plot/surfc.m: Grid on diff --git a/scripts/plot/scatter3.m b/scripts/plot/scatter3.m --- 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)