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

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

[Octave-bug-tracker] [bug #58540] logscale does not handle very small po


From: Daniel Molina García
Subject: [Octave-bug-tracker] [bug #58540] logscale does not handle very small positive data properly
Date: Wed, 10 Jun 2020 19:14:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?58540>

                 Summary: logscale does not handle very small positive data
properly
                 Project: GNU Octave
            Submitted by: dmolina
            Submitted on: Wed 10 Jun 2020 11:14:40 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello, I found some similar bugs related with negative or zeros marked as
fixed: #36493 <https://savannah.gnu.org/bugs/index.php?36493> and #51861
<https://savannah.gnu.org/bugs/index.php?51861>. I did not a find a report
with very small positive values.

As it can be seen, normal plots do not work after the error happens

Example to reproduce it:


octave:1> x = 1:20;
octave:2> y = eps(0)*ones(1, 20);
octave:3> plot (x,y) # It works
octave:4> semilogy (x,y)
error: out of memory or dimension too large for Octave's index type
error: called from
    __plt__>__plt2vv__ at line 500 column 10
    __plt__>__plt2__ at line 247 column 14
    __plt__ at line 112 column 18
    semilogy at line 65 column 10
octave:5> plot (x,y)
error: set: "dataaspectratio" must be finite
error: called from
    delete at line 65 column 5
    newplot at line 209 column 11
    plot at line 227 column 9
octave:6> warning: opengl_renderer: data values greater than float capacity. 
(1) Scale data, or (2) Use gnuplot

octave:6> plot (1:10,1:10)
error: set: "dataaspectratio" must be finite
error: called from
    delete at line 65 column 5
    newplot at line 209 column 11
    plot at line 227 column 9
warning: opengl_renderer: data values greater than float capacity.  (1) Scale
data, or (2) Use gnuplot






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58540>

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




reply via email to

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