Mercurial > hg > octave-lyh
diff scripts/plot/loglog.m @ 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 | 5389a52df87b |
children | 390d93e20531 |
line wrap: on
line diff
--- 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 +