Mercurial > hg > octave-nkf
diff scripts/plot/loglogerr.m @ 17082:cb8543396024
Set minorticks for error bar plots with logarithmic axes.
* scripts/plot/loglogerr.m, scripts/plot/semilogxerr.m,
scripts/plot/semilogyerr.m: Set axis minortick value to "on".
author | Rik <rik@octave.org> |
---|---|
date | Thu, 25 Jul 2013 11:32:23 -0700 |
parents | abf6a6147f1a |
children | eaab03308c0b |
line wrap: on
line diff
--- a/scripts/plot/loglogerr.m +++ b/scripts/plot/loglogerr.m @@ -50,7 +50,11 @@ hax = newplot (hax); set (hax, "xscale", "log", "yscale", "log"); + if (! ishold (hax)) + set (hax, "xminortick", "on", "yminortick", "on"); + endif htmp = __errcomm__ ("loglogerr", hax, varargin{:}); + unwind_protect_cleanup if (! isempty (oldfig)) set (0, "currentfigure", oldfig);