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

Home » Public Forums » archive » Log axes using object graphics
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: Log axes using object graphics [message #20430 is a reply to message #20387] Fri, 23 June 2000 00:00 Go to previous messageGo to previous message
Brad Gom is currently offline  Brad Gom
Messages: 49
Registered: August 1997
Member
Hi Ben,

thanks for the test. It turns out that the problem is a divide by zero error in
the object graphics code, caused when there is only one major tick mark in the
range. "Floating illegal operand" doesn't show up on my PC, but it hints at the
problem.

Here is the reply I got from Karl at RSI:

> It is a bug in IDL 5.3.
>
> When you change the range so that only one tick is needed on the axis,
> the bug shows up. There is a div by 0 problem in there and the code
> goes into an infinite loop.
>
> I'll open a bug report for you.
>
> As a work-around, you might try specifying MAJOR=2 to force two ticks
> on the axis. I tried this in your program and got really nice
> results.
>
> Happily, the problem does not occur in IDL 5.4. I've changed much of
> the axis support for another reason and apparently exorcised this
> gremlin in the process.
>
Thanks

Brad
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: complex eof - pca for vector data
Next Topic: Re: IDL memory allocation limitation

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

Current Time: Fri Oct 10 07:37:32 PDT 2025

Total time taken to generate the page: 0.64627 seconds