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

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

[Octave-bug-tracker] [bug #33059] Setting labels fails with integer over


From: David Finkel
Subject: [Octave-bug-tracker] [bug #33059] Setting labels fails with integer overflow for points with large values.
Date: Tue, 12 Apr 2011 21:13:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24

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

                 Summary: Setting labels fails with integer overflow for
points with large values.
                 Project: GNU Octave
            Submitted by: dfinkel
            Submitted on: Tue 12 Apr 2011 09:13:14 PM GMT
                Category: Plotting with gnuplot
                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: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When setting labels using the command line:
text(a, b, c, labels )
I receive a number of lines of output from gnuplot like:


gnuplot> set label "label" at  4835.473,140402700000,193.0772 left rotate by
0.000000 font ",10" enhanced front textcolor rgb "#000000";
                                       ^
         line 0: integer overflow; change to floating point


And ( as the output makes clear ), gnuplot fails to display the text.

I have attached a patch against the mercurial repo with a fix ( changing the
fprintf conversion specification in __go_draw_axes__.m from %g to %e.)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 12 Apr 2011 09:13:14 PM GMT  Name: octave-gnuplot_labels_float.diff 
Size: 1kB   By: dfinkel

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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