Mercurial > hg > octave-shane
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 +++ b/scripts/ChangeLog @@ -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 +++ b/scripts/plot/contour3.m @@ -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 +++ b/scripts/plot/mesh.m @@ -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)