Re: Function Graphics Bugs Depressing [message #78014] |
Fri, 21 October 2011 08:55  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
alx wrote:
> On 21 oct, 00:33, David Fanning <n...@dfanning.com> wrote:
>> David Fanning writes:
>>> Yes, all "old" things are preserved.
>> There are a couple of exceptions, I suppose. The WShow
>> command is definitely broken in IDL 8.1 and does
>> really entertaining and weird things when you try
>> to use it. And I do notice quite often that when
>> I try to run a program that doesn't explicitly open
>> a graphics window, but just issues a graphics command
>> that is *suppose* to open a window (plot, contour, etc.)
>> that about every 5th or 6th time I run the program
>> nothing whatsoever happens. Usually, you can just open
>> a graphics window and things work for awhile. Sometimes
>> it is impossible to recover, even with a .reset, and
>> you have to start the Workbench over again.
>>
>> 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.")
>
> Saying that "The WShow command is definitely broken in IDL 8.1" is not
> exact. It perfectly works when usind the IDL command line. It is only
> "broken" when you are using IDL through the Workbench, that is
> Eclipse...
Hmm. I *never* use the Workbench and when the Wshow weirdness was highlighted I gave it a shot. My tests indicate that
wshow no longer behaves as it once did.
I just did a quick test and, effectively, wshow on my idl 8.1 (linux RHE5) is a noop.
cheers,
paulv
|
|
|
|
Re: Function Graphics Bugs Depressing [message #78019 is a reply to message #78017] |
Fri, 21 October 2011 02:57   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
On 21 oct, 00:33, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> Yes, all "old" things are preserved.
>
> There are a couple of exceptions, I suppose. The WShow
> command is definitely broken in IDL 8.1 and does
> really entertaining and weird things when you try
> to use it. And I do notice quite often that when
> I try to run a program that doesn't explicitly open
> a graphics window, but just issues a graphics command
> that is *suppose* to open a window (plot, contour, etc.)
> that about every 5th or 6th time I run the program
> nothing whatsoever happens. Usually, you can just open
> a graphics window and things work for awhile. Sometimes
> it is impossible to recover, even with a .reset, and
> you have to start the Workbench over again.
>
> 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.")
Saying that "The WShow command is definitely broken in IDL 8.1" is not
exact. It perfectly works when usind the IDL command line. It is only
"broken" when you are using IDL through the Workbench, that is
Eclipse...
alx.
|
|
|
Re: Function Graphics Bugs Depressing [message #78024 is a reply to message #78019] |
Thu, 20 October 2011 15:38   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> And I do notice quite often that when
> I try to run a program that doesn't explicitly open
> a graphics window, but just issues a graphics command
> that is *suppose* to open a window (plot, contour, etc.)
> that about every 5th or 6th time I run the program
> nothing whatsoever happens
It is possible to see this in a positive light. For
example, whenever it happens you can remind yourself
to stretch your wrists to avoid repetitive strain
injuries. Or, you can see it as a subtle reminder
from ITTVIS to pay your maintenance fees. You can
probably think of other positive things you can
do. It is best, however, not to have a firearm
nearby. :-)
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.")
|
|
|
Re: Function Graphics Bugs Depressing [message #78027 is a reply to message #78024] |
Thu, 20 October 2011 15:33   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> Yes, all "old" things are preserved.
There are a couple of exceptions, I suppose. The WShow
command is definitely broken in IDL 8.1 and does
really entertaining and weird things when you try
to use it. And I do notice quite often that when
I try to run a program that doesn't explicitly open
a graphics window, but just issues a graphics command
that is *suppose* to open a window (plot, contour, etc.)
that about every 5th or 6th time I run the program
nothing whatsoever happens. Usually, you can just open
a graphics window and things work for awhile. Sometimes
it is impossible to recover, even with a .reset, and
you have to start the Workbench over again.
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.")
|
|
|
Re: Function Graphics Bugs Depressing [message #78028 is a reply to message #78027] |
Thu, 20 October 2011 15:26   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Beaker writes:
> Another question from the non-but-potentially IDL 8.+ world, are the
> 'old' ways of doing graphics with the basic commands (such as
> PLOT,CONTOUR etc) retained in IDL 8+, and the bugs are with a new but
> optional way of using graphics, or are all graphics affected? Would
> IDL 7.1 code run using IDL 8+ with no problems?
Yes, all "old" things are preserved. (The CURSOR command
may be an exception, I guess, but that's even too old
for me to worry about.) The Coyote Graphics routines,
of course, attempt (fairly successfully, I believe) to
turn "old" graphics routines into routines with "modern"
functionality. They can be used in any version of
IDL, from at least IDL 6.4 (maybe earlier) to IDL 8.1.
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.")
|
|
|
|
Re: Function Graphics Bugs Depressing [message #78100 is a reply to message #78014] |
Sat, 22 October 2011 00:45  |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
On 21 oct, 17:55, Paul van Delst <paul.vande...@noaa.gov> wrote:
> alx wrote:
>> On 21 oct, 00:33, David Fanning <n...@dfanning.com> wrote:
>>> David Fanning writes:
>>>> Yes, all "old" things are preserved.
>>> There are a couple of exceptions, I suppose. The WShow
>>> command is definitely broken in IDL 8.1 and does
>>> really entertaining and weird things when you try
>>> to use it. And I do notice quite often that when
>>> I try to run a program that doesn't explicitly open
>>> a graphics window, but just issues a graphics command
>>> that is *suppose* to open a window (plot, contour, etc.)
>>> that about every 5th or 6th time I run the program
>>> nothing whatsoever happens. Usually, you can just open
>>> a graphics window and things work for awhile. Sometimes
>>> it is impossible to recover, even with a .reset, and
>>> you have to start the Workbench over again.
>
>>> 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.")
>
>> Saying that "The WShow command is definitely broken in IDL 8.1" is not
>> exact. It perfectly works when usind the IDL command line. It is only
>> "broken" when you are using IDL through the Workbench, that is
>> Eclipse...
>
> Hmm. I *never* use the Workbench and when the Wshow weirdness was highlighted I gave it a shot. My tests indicate that
> wshow no longer behaves as it once did.
>
> I just did a quick test and, effectively, wshow on my idl 8.1 (linux RHE5) is a noop.
>
> cheers,
>
> paulv- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
By using IDL 8.1 command line and Windows 7, I can get:
after,
IDL> window, /FREE
IDL> window, /FREE
windows 33,IDL and 32 appear in this order (33 in front)
IDL> wshow, 32, 1 ;put window 32 in front (then IDL and 33)
IDL> wshow, 32, 0 ;put window 32 in rear
IDL> wshow, 33, 1 ;restore 33 in front
IDL> wshow, 32, /ICONIC ;iconify (ze ?) window 32
IDL> wshow, 32, 1 ;restore window 32
etc ...
what is broken ?
(note that I did not check the case of draw widget).
alx.
|
|
|