Re: Log axes using object graphics [message #20440 is a reply to message #20387] |
Fri, 23 June 2000 00:00   |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
Brad Gom wrote:
> Now, the problem is that the machine hangs when I try to plot a logarithmic
> range that is approximately one order of magnitude and spans only one power
> of 10 -ie [500,5000]
>
> Try the following procedure called 'Objtest.pro'. First, execute it as is.
> Then try un-commenting the 2nd line. On my machine it hangs at
> "thisWindow->Draw, thisView"
>
>
Hello,
I tried the code on:
IDL> help,!version,/str
** Structure !VERSION, 5 tags, length=40:
ARCH STRING 'sparc'
OS STRING 'sunos'
OS_FAMILY STRING 'unix'
RELEASE STRING '5.2'
BUILD_DATE STRING 'Oct 30 1998'
First, I tried it as written ... no problem.
IDL> .COMPILE '/disk1/tupper/pemaquid/objtest.pro'
% Compiled module: BGNORM_RANGE.
% Compiled module: OBJTEST.
IDL> objtest
drawing
done
Then I uncommented the specified line. It works without hanging, but the
non-fatal error message that follows
appeared. By stepping through I found that the error message occurs at the
thisWindow->Draw, thisView statement.
IDL> .COMPILE '/disk1/tupper/pemaquid/objtest.pro'
% Compiled module: BGNORM_RANGE.
% Compiled module: OBJTEST.
IDL> objtest
drawing
done
% Program caused arithmetic error: Floating illegal operand
I'm not sure if this helps, but perhaps it narrows down the problem.
Ben
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net
|
|
|