Sat 14 Jun 2014 05:34:23 AM UTC, comment #8:
I backported Stefan's fix to the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/9c2ff2361864). The patches that do cleanup I applied to the development branch. Thanks to Stefan's work I'm marking this as fixed and closing the report.
|
Sun 02 Mar 2014 02:09:32 AM UTC, comment #7:
I attached three changesets
- ticklabel_minor_grid.diff fixes both errors
- cleanup_ticklabel.diff remove unneeded ticklabel conversions (see bug 34906)
- cleanup_do_tics_1.diff cleanup
Hopefully no new regressions :)
(file #30748, file #30749, file #30750)
|
Sat 01 Mar 2014 03:34:34 PM UTC, comment #6:
The fix for this bug invalidates the fix for bug #38139. It looks like something better needs to be done so that both this bug and #38139 remain fixed at the same time. I'm re-opening both bug reports and cross-referencing them.
|
Sat 09 Nov 2013 03:35:11 PM UTC, comment #5:
Also thanks from me Stefan.
Works OK here.
|
Sat 09 Nov 2013 03:16:51 PM UTC, comment #4:
Thanks Stefan. I applied your patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/5740407c25b2). We are nearly there for the release now.
|
Fri 08 Nov 2013 10:29:04 PM UTC, comment #3:
Attached patch fixes this bug for the example below.
Rik, there are a lot of ticklabel conversions in _go_draw_axes_.m
Many of this conversions are already done in graphic.cc (see for example bug 34906 ), so I could clean up _go_draw_axes_.m a little bit. But I suggest to do this after the release.
(file #29576)
|
Thu 07 Nov 2013 04:15:51 PM UTC, comment #2:
The problem is not with datetick, but rather with how the command "set (gca, 'xticklabel', ...)" works. Instead of just overwriting the existing labels, this is apparently invoking the auto-axis labeling routine. Simple code to reproduce:
|
Mon 14 Oct 2013 12:15:54 AM UTC, comment #1:
Confirmed. And this is a regression from 3.6.4 so I have marked it as such and added it to the 3.8 Bug Fix List before release.
|
Sun 13 Oct 2013 04:57:55 PM UTC, original submission:
When invoking datetick, and if datetick needs to recompute the X-axis tick, grid & label positions, it is expected that the previous ticks, vertical grid lines and labels are removed.
When using gnuplot this doesn't happen (fltk works correctly).
Steps to reproduce (use attached data in file series.mat, as those data require datetick to recompute the X-ticks):
load series.mat
graphics_toolkit gnuplot
plot (series(:, 1), series(:, 2))
grid
datetick
and you'll get the result in the attached picture.
This works correctly with gnuplot in octave-3.6.4 for MinGW.
If it helps: the oldest 3.7.x I have installed is Michael's 3.7.2+ MSVC snapshot binary, and that has this bug. So it must have sneaked in before Feb 22, 2013 (creation date of octave-3.7.2+.exe)
|