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

Home » Public Forums » archive » Re: Interesting IDLgrContour Bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Interesting IDLgrContour Bug [message #21777] Thu, 21 September 2000 20:17 Go to next message
Harold Cline is currently offline  Harold Cline
Messages: 13
Registered: September 2000
Junior Member
I will be investigating this.

Harold Cline
RSI

Pavel Romashkin wrote:
>
> David Fanning wrote:
>
>> Yes, and I got a nice note back saying they were
>> very busy and that perhaps if I worked on the problem
>> longer I could solve it myself.
>
> I would be *very* careful with a reply like that. Because one possible
> workaround a person could find on his own is to start using some other
> software. But again, they gave this advice to David, who, as they very
> well know, is addicted to IDL worse than RSI themselves :-)
> Cheers,
> Pavel
Re: Interesting IDLgrContour Bug [message #21806 is a reply to message #21777] Wed, 20 September 2000 00:00 Go to previous messageGo to next message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
David Fanning wrote:

> Yes, and I got a nice note back saying they were
> very busy and that perhaps if I worked on the problem
> longer I could solve it myself.

I would be *very* careful with a reply like that. Because one possible
workaround a person could find on his own is to start using some other
software. But again, they gave this advice to David, who, as they very
well know, is addicted to IDL worse than RSI themselves :-)
Cheers,
Pavel
Re: Interesting IDLgrContour Bug [message #21807 is a reply to message #21806] Wed, 20 September 2000 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Harold Cline (hjcline@home.com) writes:

> Did you report this to tech support yet?

Yes, and I got a nice note back saying they were
very busy and that perhaps if I worked on the problem
longer I could solve it myself. Indeed, that is just
what happened. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Interesting IDLgrContour Bug [message #21811 is a reply to message #21806] Tue, 19 September 2000 22:00 Go to previous messageGo to next message
Harold Cline is currently offline  Harold Cline
Messages: 13
Registered: September 2000
Junior Member
Hi David,

Did you report this to tech support yet?

Cheers,
Harold Cline
RSI
home:hjcline@home.com
work:harold@rsinc.com

David Fanning wrote:
>
> Hi Folks,
>
> I ran into an interesting little IDLgrContour bug today
> that gave me a few hours of fun. Apparently, the
> contour algorithm cannot see positive data that is less
> than 1. As a result, it reports the contour range incorrectly.
> Here is a very short example:
>
> ; Create test data.
> data = Dist(40)
>
> ; Normalize the Y values from 20 to 39 to be less than 0.
> data[*,20:39] = data[*,20:39]/Max(data)
>
> ; Create contour plot.
> x = findgen(40)
> y = findgen(40)
> theContour = Obj_New('IDLgrContour', data, Geomx=x, Geomy=y)
>
> ; Get the Y range of the data.
> theContour->GetProperty, YRange=theBadRange
>
> ; Print it. Expect 0 to 39.
>
> Print, theBadRange
> 0.000000 19.8495
>
> Whoops! Of course, this will cause the scaling to be
> completely off when you go to put the plot into your
> view.
>
> The work around is to get the contour range from
> the X and Y vectors. I don't think too many people
> will run into this, but it can be distracting. :-)
>
> I've tested this in IDL 5.3.1 and IDL 5.4 beta on
> Windows NT 4.0.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: Interesting IDLgrContour Bug [message #21872 is a reply to message #21777] Fri, 22 September 2000 00:00 Go to previous message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
Harold Cline wrote:
>
> I will be investigating this.

Investigating the reply or the bug, Harold? :-)

No offense meant. I'm afraid I'm addicted to IDL, too :-(

Cheers,
Pavel
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Finding Memory Leak ?
Next Topic: Finding Memory Leak ?

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

Current Time: Wed Oct 08 19:58:19 PDT 2025

Total time taken to generate the page: 0.00515 seconds