Mercurial > hg > octave-lyh
changeset 10511:153e6226a669
loglog.m: Minor ticks on by default for loglog plots.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Mon, 12 Apr 2010 18:07:58 -0400 |
parents | 62ebba45054e |
children | aac9f4265048 |
files | scripts/ChangeLog scripts/plot/loglog.m |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,6 @@ -2010-04-12 Ben Abbott <bpabbott@mac.com> - +2010-04-12 Ben Abbott <bpabbot@mac.com> + + * plot/loglog.m: Minor ticks on by default for loglog plots. * plot/__plt_get_axis_arg__.m, plot/newplot.m: Respect the nextplot property value of 'new' for axes and 'replacechildren' for axes and figures.
--- a/scripts/plot/loglog.m +++ b/scripts/plot/loglog.m @@ -37,6 +37,9 @@ newplot (); set (h, "xscale", "log", "yscale", "log"); + if (any( strcmp (get (gca, "nextplot"), {"new", "replace"}))) + set (h, "xminortick", "on", "yminortick", "on"); + endif tmp = __plt__ ("loglog", h, varargin{:}); @@ -48,3 +51,4 @@ end_unwind_protect endfunction +