text (...) function behaviour for large numbers? Bug?
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Dec 5 15:26:22 CST 2007
On 5-Dec-2007, Matthias Brennwald wrote:
| I tried to use the text(...) command for text labels in a plot with
| large numbers. For y coordinates larger than 2E9, the text is not placed
| correctly. Try this to see what I mean:
|
| --------------
| plot(rand(1,10)*1e10)
| axis ([1 10 1e8 1e10]);
| text(2,1e9,'1E9')
| text(3,2e9,'2E9')
| text(4,3e9,'3E9')
| text(5,4e9,'4E9')
| text(6,5e9,'5E9')
| --------------
|
| Matthias
|
|
| (This message was copied from the help-octave list. David Bateman
| already gave some information on the problem there)
Version of Octave?
Version of gnuplot?
I'd be happy to have a patch that fixes this problem and doesn't break
other cases that have been discussed in the past:
http://www.nabble.com/plotting-hickups-tf4472722.html#a12764780
But in any case, I suspect we will have these kinds of problems until
gnuplot is fixed, or we use something else for rendering graphics that
doesn't require using text formats for sending data for things like
text label locations.
jwe
More information about the Bug-octave
mailing list