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

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

[Octave-bug-tracker] [bug #37553] datetick generates strange tick mark l


From: Rik
Subject: [Octave-bug-tracker] [bug #37553] datetick generates strange tick mark locations
Date: Tue, 16 Oct 2012 23:28:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0

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

Sad to say, the root cause of this is that OpenGL uses single (32-bit) rather
than double (64-bit) values in the backend.  This was reported in bug #32980. 
The current work-around is to use gnuplot.

To see the problem, try 


diff (single (t))
ans =

   0.0000000000000000
   0.0625000000000000
   0.0625000000000000
   0.0000000000000000
   0.0625000000000000
   0.0625000000000000
   0.0000000000000000
   0.0625000000000000
   0.0625000000000000
   0.0000000000000000
   0.0625000000000000
   0.0625000000000000
   0.0000000000000000



You can see that because of the limited precision of the single class there is
occasionally no difference between two datetick values.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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