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

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

[Octave-bug-tracker] [bug #49437] Wrong tick labels (e.g. 1.10e-4) on lo


From: Martin Kunz
Subject: [Octave-bug-tracker] [bug #49437] Wrong tick labels (e.g. 1.10e-4) on logarithmic axis
Date: Tue, 25 Oct 2016 09:23:57 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?49437>

                 Summary: Wrong tick labels (e.g. 1.10e-4) on logarithmic axis
                 Project: GNU Octave
            Submitted by: mkunz
            Submitted on: Tue 25 Oct 2016 09:23:55 AM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: mkunz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0-rc2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The following lines 


graphics_toolkit qt
loglog(1./((1:10).^8))


produce initially a nice looking plot. After zooming out once by turning the
mouse wheel strange labels appear on the y ticks:


>> get(gca,"yticklabel")
ans =
{
  [1,1] = 1.10^{-15}
  [1,2] = 1.10^{-14}
  [1,3] = 1.10^{-13}
  [1,4] = 1.10^{-12}
  [1,5] = 1.10^{-11}
  [1,6] = 1.10^{-10}
  [1,7] = 1.10^{-9}
  [1,8] = 1.10^{-8}
  [1,9] = 1.10^{-7}
  [1,10] = 1.10^{-6}
  [1,11] = 1.10^{-5}
  [1,12] = 1.10^{-4}
  [1,13] = 10^{-3}
  [1,14] = 10^{-2}
  [1,15] = 10^{-1}
  [1,16] = 10^{0}
}


Switching a "screwed" figure to the FLTK toolkit preserves the faulty labels
whereas they do not show up in figures that were set to FLTK before the loglog
command.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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