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 #52365 is a reply to message #52359] Tue, 30 January 2007 09:01 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Tue, 30 Jan 2007, 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?
>
> Cheers
> Reimar
>

add after plot:

print, 'normal x coord:', !x.s[0]+!x.s[1]*10.
print, 'device x coord:', (!x.s[0]+!x.s[1]*10.)*!d.x_size

you will get:

normal x coord: 8781250.3
device x coord: 5.6200002e+09

The pixel value is greater than the max. value for a 32 bit integer,
so anything can happen.

regards,
lajos
[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 22:43:51 PDT 2025

Total time taken to generate the page: 1.04176 seconds