text (...) function behaviour for large numbers? Bug?
Matthias Brennwald
matthias.brennwald at nagra.ch
Wed Dec 5 09:02:20 CST 2007
Dear all
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
--
Matthias Brennwald
Project Manager Safety Analysis
Hardstrasse 73
5430 Wettingen
Switzerland
+41 56 437 13 32
More information about the Help-octave
mailing list