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

Home » Public Forums » archive » Resizeable Graphics Windows for Traditional Commands
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: Resizeable Graphics Windows for Traditional Commands [message #74558 is a reply to message #74494] Thu, 20 January 2011 07:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Humm. The first "plot" command definitely works on my Windows
> machine. I'm not really doing anything with the commands
> except "executing" them with Call_Procedure. I can't think
> of a single reason why they wouldn't work everywhere.
>
> I guess I'll fire up the ol' LINUX machine and have
> a look. Strange. :-(

OK, here is the problem. For some reason on UNIX machines
the contents of the graphics buffer are not getting flushed
when you execute a graphics command with Call_Procedure.
I tried putting a FLUSH command at the end of the execution
and that didn't help. I tried an EMPTY, and that fixed the
problem. (I realized this was the problem, because if I
stepped through the code, everything worked perfectly!)

I believe I have seen this problem before. At least I
remember stepping through code and having things work,
but then NOT working when I just ran the program. I
probably should make a note of this. This is probably
not the last time we will run into it.

I'll have a new version up in about a half hour. If you
want to fix it yourself, put the EMPTY command at the
end of the FSC_WINDOW_COMMAND::DRAW method.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Book is Finished!
Next Topic: Re: Code optimization

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

Current Time: Sat Oct 11 00:02:14 PDT 2025

Total time taken to generate the page: 2.08036 seconds