[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55864] semilogy plot ticks could be too dense
From: |
Eddy |
Subject: |
[Octave-bug-tracker] [bug #55864] semilogy plot ticks could be too dense or too sparse |
Date: |
Sun, 10 Mar 2019 11:21:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #1, bug #55864 (project octave):
Found a related issue:
bug #55640: Feature Request: Adjust tick locations and labels based on text
extents and size of axes
If the workaround here could be implemented, or better, further provide user
the ability to control (set () ?) the density of ticks/grids, then #55640
would be largely solved.
I attached an updated Octave scripts for computing the ticks and bounds
(calc_axis_ticks.m), and also the demo file bug_demo_fix.m that solve the too
dense or too sparse problem. (See bug #55876 for some flaw)
addlistener(gca, 'xlim', ...) seems not work well, so the true solution still
need in the C++ part.
(file #46488, file #46489, file #46490)
_______________________________________________________
Additional Item Attachment:
File name: calc_axis_ticks.m Size:5 KB
<https://savannah.gnu.org/file/calc_axis_ticks.m?file_id=46488>
File name: fix_axes_ticks.m Size:4 KB
<https://savannah.gnu.org/file/fix_axes_ticks.m?file_id=46489>
File name: bug_demo_fix.m Size:0 KB
<https://savannah.gnu.org/file/bug_demo_fix.m?file_id=46490>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55864>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/