[Top][All Lists]
[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: |
Sun, 15 May 2011 19:51:42 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24 |
Follow-up Comment #2, bug #33059 (project octave):
Sorry for the delay.
The version of gnuplot I have installed is:
$ gnuplot --version
gnuplot 4.2 patchlevel 6
An example session with the errors:
octave:1> x = [ 1e10 58932897975 4e15 87875789903 ]
x =
1.0000e+10 5.8933e+10 4.0000e+15 8.7876e+10
octave:2> y = [ 78592900134 78865897922 1e15 878998789748 ]
y =
7.8593e+10 7.8866e+10 1.0000e+15 8.7900e+11
octave:3> labels - [ "abcde"; "kjalkjil"; "nklgnlkgl"; "iertfsc" ]
error: `labels' undefined near line 3 column 1
octave:3> labels = [ "abcde"; "kjalkjil"; "nklgnlkgl"; "iertfsc" ]
labels =
abcde
kjalkjil
nklgnlkgl
iertfsc
octave:4> plot( x, y, 'o' )
octave:5> text( x, y, labels )
gnuplot> set label "abcde" at 10000000000,78592900134 left rotate by 0.000000
font ",10" enhanced front textcolor rgb "#000000";
^
line 0: integer overflow; change to floating point
gnuplot> set label "kjalkjil" at 58932897975,78865897922 left rotate by
0.000000 font ",10" enhanced front textcolor rgb "#000000";
^
line 0: integer overflow; change to floating point
octave:6>
gnuplot> set label "iertfsc" at 87875789903,878998789748 left rotate by
0.000000 font ",10" enhanced front textcolor rgb "#000000";
^
line 0: integer overflow; change to floating point
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33059>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33059] Setting labels fails with integer overflow for points with large values.,
David Finkel <=