bugGNU Octave - Bugs: bug #58419, "integer overflow" when...

 
 

bug #58419: "integer overflow" when plotting large numbers

Submitter:  Daniel Molina García <dmolina>
Submitted:  Wed 20 May 2020 10:45:30 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 May 2020 03:55:22 PM UTC, comment #3: 

No objection to continued report of bugs, just noting that developers may not prioritize fixing gnuplot issues.

Rik <rik5>
Group administrator
Sat 23 May 2020 03:29:57 PM UTC, comment #2: 

Thanks for the info.

The reason I'm using gnuplot is that it seems to be something wrong in my distribution (PureOS) with octave plots

https://tracker.pureos.net/T906

and gnuplot usually performed better in my system as long as I tested.

I will continue reporting gnuplot bugs as I find them if you don't object.

Daniel Molina García <dmolina>
Sat 23 May 2020 03:07:16 PM UTC, comment #1: 

This was a simple fix which I made in this changeset: https://hg.savannah.gnu.org/hgweb/octave/rev/b55dd2734aeb.

I notice that you have filed several bug reports against plotting with gnuplot.  gnuplot is not deprecated, but it is not particularly actively developed.  If you can use the qt toolkit, which is the focus of Linux developers, you will generally be better off.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Wed 20 May 2020 10:45:30 PM UTC, original submission:  

A warning is reported when plotting vectors that includes large numbers.

Sending coordinates as double to gnuplot would avoid the warning.

Example to reproduce it:


octave:1> x = linspace(0,1e10);
octave:2> graphics_toolkit gnuplot
octave:3> plot(x,x)

gnuplot> set xtics in scale  1.4 border mirror ( "0" 0,  "2e+09" 2000000000,  "4e+09" 4000000000,  "6e+09" 6000000000,  "8e+09" 8000000000,  "1e+10" 10000000000) textcolor rgb "#262626" font ",10";
                                                                                      ^
         line 0: warning: integer overflow; changing to floating point
[...]


Daniel Molina García <dmolina>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dmolina (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-23 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code