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: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #46047] Large number of axes ticks for big logarithmic plots
Date: Tue, 06 Oct 2015 19:51:27 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

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

What about something like:



 if (is_logscale)
    {
      if (! (xisinf (hi) || xisinf (lo))) {
        tick_sep = 1;  // Tick is every order of magnitude (bug #39449)
        if (hi - lo > 10) {
           tick_sep = calc_tick_sep (lo, hi);
        }
      }
      else
        tick_sep = 0;
    }
  else
    tick_sep = calc_tick_sep (lo, hi);




    _______________________________________________________

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]