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

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

[Octave-bug-tracker] [bug #53832] Fractional independent variable mis-pl


From: Rik
Subject: [Octave-bug-tracker] [bug #53832] Fractional independent variable mis-plotting in Qt, not Gnuplot.
Date: Fri, 4 May 2018 16:28:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53832 (project octave):

                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Alas, this is just another manifestation of the fact that OpenGL uses single
precision variables for plotting while gnuplot, and Octave, use doubles.  See
bug #32980 from 2011.

The solution is to scale the data before plotting.  In this case, the
timestamp has a large constant value of 736177 and then a small changing value
of order 1.  I just subtracted off the first timestamp value which then
reveals that the range of data is [0, 2.17].  I have attached that as
bg2.dat.

If you modify plotbug.m to load bg2.dat you will see that the plot is
correct.

Marking as a duplicate and closing report.

(file #44096)
    _______________________________________________________

Additional Item Attachment:

File name: bg2.dat                        Size:0 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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