text (...) function behaviour for large numbers? Bug?

David Bateman David.Bateman at motorola.com
Wed Dec 5 10:02:58 CST 2007


Matthias Brennwald wrote:
> 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
>
>
>   
Previous related thread is

http://www.nabble.com/plotting-hickups-tf4472722.html#a12764780

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Help-octave mailing list