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

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

[Octave-bug-tracker] [bug #44963] Wrong plotting with fltk, according to


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #44963] Wrong plotting with fltk, according to values in the data
Date: Thu, 30 Apr 2015 00:08:24 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

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

                 Summary: Wrong plotting with fltk, according to values in the
data
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Thu 30 Apr 2015 12:08:22 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This issue has been reported as a bug against the Debian package octave
(http://bugs.debian.org/783624).

Using the data in the file attached to this bug report (data.mat), the plot
with gnuplot produces a correct result (see attached file gnuplot.pdf):


load data.mat
close all
graphics_toolkit ("gnuplot")
plot (data (:, 1), data (:, 2))


However, the result is clearly wrong with fltk (see atached file fltk.pdf):


load data.mat
close all
graphics_toolkit ("fltk")
plot (data (:, 1), data (:, 2))


Also, the labels on the vertical axis appear at the wrong places.

This is due to a bad conditioning of the data and the problem disappears when
the data on the horizontal axis is translated:


load data.mat
close all
graphics_toolkit ("fltk")
plot (data (:, 1) - data (1, 1), data (:, 2))


This seems to be a bug in the fltk graphics backend. 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 30 Apr 2015 12:08:22 AM GMT  Name: data.mat  Size: 1kB   By:
rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=33840>
-------------------------------------------------------
Date: Thu 30 Apr 2015 12:08:22 AM GMT  Name: fltk.pdf  Size: 5kB   By:
rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=33841>
-------------------------------------------------------
Date: Thu 30 Apr 2015 12:08:22 AM GMT  Name: gnuplot.pdf  Size: 6kB   By:
rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=33842>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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