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 #52367 is a reply to message #52359] Tue, 30 January 2007 08:28 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"Reimar Bauer" <R.Bauer@fz-juelich.de> wrote in message
news:epngnc$f9fd$1@zam602.zam.kfa-juelich.de...
> 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]

I am not sure what point you are going after, but this seems
that it is plotting indgen*10^(-7). Is that your intent?

Or are you pointing out that the line from 0, to 10 when plotted
on the scale 10^-7 is not colinear with the points.

I think the extrapolation necessary to plot from 0, 10
when your axis ranges from 0 to 9*10^(-7) is so huge
(in the plot coordinates) that some roundoff error will
occur, and hence the lines won't line up exactly.


I suggest:
oplot,[0d,10d^(-6)],[0d,10d^(-6)]

that puts the line correctly (i think)

Cheers,
bob
[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 10:22:14 PDT 2025

Total time taken to generate the page: 1.12593 seconds