Re: the sky is falling down again [message #52373 is a reply to message #52359] |
Tue, 30 January 2007 07:01   |
Paolo Grigis
Messages: 171 Registered: December 2003
|
Senior Member |
|
|
Reimar Bauer wrote:
> Hi all
>
> here is another example which is very funny if you see it the first time
>
> a=indgen(10)*1D-7
> b=a
> plot,a,b,psym=1
> oplot,[0,10],[0,10]
>
> because the coordination system is defined by plot it could be a bug too
> and not only a question about precisions
>
>
> Any idea what is happen here?
I think that maybe plot tries to find out the pixel coordinates
corresponding to the far end of the line. If it uses long, signed
integers for that, then it will overflow around pixel 2^31, which
seems roughly where the line is supposed to be with your settings
(which should be something like 500 pixel times 10 divided by 1d-6).
Ciao,
Paolo
>
> Cheers
> Reimar
>
>
>
|
|
|