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 #52352 is a reply to message #52351] Wed, 31 January 2007 10:52 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"Bob Crawford" <Snowman42@gmail.com> wrote in message
news:1170268829.777687.8070@s48g2000cws.googlegroups.com...
> On Jan 31, 1:09 pm, "R.G. Stockwell" <n...@email.please> wrote:
>> Seriously??
>> Does anyone think this is really a problem?
>> I must be missing the point.
>>
>> Who in their right mind would plot a point on a graph
>> (or a line to a point) that is so very very off the axis?
>> That is user error, not a failing in the plot routine to only
>> use 32 bit numbers.
>
> It's certainly counter-intuitive for the line from (0,0) -> (10,10)
> not to pass thru the points.
> ... and it's pretty dangerous to label something like that as 'user
> error'.

I think this is the exact same thing as
IDL> print, 10+2*10^(-7)
10
and complaining that IDL is wrong.

Or,
IDL> for i = 0.0, 9.8 do ....

or
IDL> a = findgen(20)
IDL> print, a[8762938717]


The rule is not to attempt to plot a point that is so far
off the graph that 32 bit calculations do have the required
precision.

anyways, that is how i see it. i.e. as not a flaw in IDL, and
not something they should fix in any priority over some of the
other problems.

> Perhaps the plotting routine should first interpolate the line to the
> extent or the plotted region first - or at least within the limit
> posted by JD.

I don't think we want the routine doing that sort of thing, nor
do I want it to cook toast for me:actually, cook bread, the end
result being toast of course :) .


> Mightn't this be a problem when zooming on on details on a plot? As
> indicated above, it depends on the plot window size as to when this
> misrepresentation will occur.

How can anyone zoom in 8 orders of magnitude (and still have
10 points on the screen)? The length of the array would
probably start to have problems fitting into a 32bit memory address.

Like i said, to see that plot would require a screen 200 km wide.


Thanks for the comments,

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:23:32 PDT 2025

Total time taken to generate the page: 0.39987 seconds