Re: idl plot window disappearances [message #77320 is a reply to message #77319] |
Tue, 23 August 2011 13:44   |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On 8/23/11 3:08 PM, David Fanning wrote:
> desertdryad writes:
>
>> I'm a bit ew to IDL programming (but not to programming in general)
>> and I have an issue that has me perplexed. I am trying to write a
>> simple bit of code, where a plot is drawn and a user is prompted
>> whether or not they want to accept a curve fit drawn on said plot, or
>> attempt another set of fitting parameters. However, the plot window
>> mysteriously vanishes the minute the prompt (from a 'read' command) is
>> executed. So, one cannot decide whether to accept the curve fit,
>> since it becomes invisible (the plot window simply goes blank). I
>> have set 'retain=2' to no avail. How do I fix?
>
> Use two monitors. Display your IDL plot windows on one
> monitor and your IDLDE in the other. ;-)
>
> Until WSet gets fixed (unlikely, since it has been
> broken for so damn long!), there is no hope for this
> on a single monitor system. The alternative, I guess,
> is to write a widget program, rather than trying to
> collect input from the command line.
>
> Cheers,
>
> David
>
>
>
Would using a cgWindow and cgSet work?
-Jeremy.
|
|
|