Mercurial > octave-dspies
changeset 14321:a9a42d630bd5 stable
use 8 minor tick marks per decade for log scale plots, not 9.
* graphics.cc (axes::properties::calc_ticks_and_lims): Use 8 minor
tick marks for log scale axes, not 9.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 03 Feb 2012 19:04:51 -0500 |
parents | 7dee2bb231c1 |
children | 45f5a5d5656f |
files | src/graphics.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graphics.cc Thu Feb 02 10:46:52 2012 -0800 +++ b/src/graphics.cc Fri Feb 03 19:04:51 2012 -0500 @@ -5826,7 +5826,7 @@ ticks = tmp_ticks; - int n = is_logscale ? 9 : 4; + int n = is_logscale ? 8 : 4; Matrix tmp_mticks (1, n * (tmp_ticks.numel () - 1)); for (int i = 0; i < tmp_ticks.numel ()-1; i++)