octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46047] Large number of axes ticks for big log


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #46047] Large number of axes ticks for big logarithmic plots
Date: Sun, 31 Jan 2016 08:13:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #6, bug #46047 (project octave):

Michael, I agree that documenting the limitation is useful as a backup.

Panxto, I agree that we need to choose a rule for both major and minor tics in
a consistent way.

One problem with basing the spacing on the number of pixels is that things
like PDF don't really have pixels.  It may be useful to use the width and
height of a character of the label font as a unit.

I would use a rule of thumb that the space between consecutive labels should
be no less than approximately the width of a label (which depends on the
number of digits in the label as well as the font size).

Given the major tics, we could have as close as possible to 4 minor tics per
major tic, while staying with one of the sets:
10^0, 10^n, 10^2n, ...
1,3,10,30....
1,2,5,10,20,50...
1,2,3,5,7,10,20...
1,2,3,4,5,6,7,8,9,10,20,...
(or something finer if the major tics are very close)

Some packages refuse to have major tics closer together than a power of 10,
but that often leads to plots that quite hard to read.

Again, $0.02

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46047>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]