comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: the sky is falling down again
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: the sky is falling down again [message #52373 is a reply to message #52359] Tue, 30 January 2007 07:01 Go to previous messageGo to previous message
Paolo Grigis is currently offline  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
>
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing fields from a structure
Next Topic: the sky is falling down again

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:53:55 PDT 2025

Total time taken to generate the page: 1.12020 seconds