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

Home » Public Forums » archive » Re: Object Graphics when using 'stop'
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: Object Graphics when using 'stop' [message #30542] Fri, 03 May 2002 08:34 Go to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Hi Randall,

Can you provide some more context? I just stopped an OG program,
manipulated objects and drew the window. Is that what you are trying to do?

-Rick


"Randall Skelton" <rhskelto@atm.ox.ac.uk> wrote in message
news:Pine.LNX.4.33.0205021605500.27169-100000@mulligan.atm.o x.ac.uk...
> Hi all,
>
> I'm using IDL 5.3 under linux and I have a curious question. For
> perspective, I tend to do most of my coding from the command line and not
> the gui (yes, I do use the 'stop' command a lot). I routinely check the
> contents of variables with 'print' and 'plot' commands to determine if my
> calculations look reasonable. My problem is, once I have issued a 'stop'
> command I cannot use object graphics to plot anything. All I get is a
> black background window that is usually dissociated from xmanager. I'm
> sure there is a good reason for this but I'm stymied. Any thoughts?
>
> Cheers,
> Randall
>
Re: Object Graphics when using 'stop' [message #30685 is a reply to message #30542] Fri, 10 May 2002 03:05 Go to previous message
Randall Skelton is currently offline  Randall Skelton
Messages: 169
Registered: October 2000
Senior Member
With regard to more context, imagine a procedure aptly named 'test':

PRO TEST
DATA = BESELJ(SHIFT(DIST(40),20,20)/2,0)
STOP
END

When I run this in IDL I get:

IDL> test
% Compiled module: TEST.
% Compiled module: DIST.
% Stop encountered: TEST 5 /blah/.../blah/test.pro

If I try and plot 'data' with an object graphics routine like
'fsc_surface', or any of the RSI example code 'show3_track',
'test_surface' all I get is a black window? Moreover, all of these
routines have built-in data (in the event that the user doesn't pass an
array) and even this fails to display when my routine is stopped. Of
course, once I continue the program and allow it to finish, everything is
fine and the object-graphics window fills with the expected surface.

Any help would be greatly appreciated!

Cheers,
Randall

IDL 5.3 (soon to be 5.5); RH Linux 7.x; XFree 4.0.3

On Fri, 3 May 2002, Rick Towler wrote:

> Hi Randall,
>
> Can you provide some more context? I just stopped an OG program,
> manipulated objects and drew the window. Is that what you are trying to do?
>
> -Rick
>
>
> "Randall Skelton" <rhskelto@atm.ox.ac.uk> wrote in message
> news:Pine.LNX.4.33.0205021605500.27169-100000@mulligan.atm.o x.ac.uk...
>> Hi all,
>>
>> I'm using IDL 5.3 under linux and I have a curious question. For
>> perspective, I tend to do most of my coding from the command line and not
>> the gui (yes, I do use the 'stop' command a lot). I routinely check the
>> contents of variables with 'print' and 'plot' commands to determine if my
>> calculations look reasonable. My problem is, once I have issued a 'stop'
>> command I cannot use object graphics to plot anything. All I get is a
>> black background window that is usually dissociated from xmanager. I'm
>> sure there is a good reason for this but I'm stymied. Any thoughts?
>>
>> Cheers,
>> Randall
>>
>
>
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: multiple regression
Next Topic: Calling IDL from a MS ANSI C dll?

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

Current Time: Wed Oct 08 13:40:40 PDT 2025

Total time taken to generate the page: 0.00790 seconds