Re: idl plot window disappearances [message #77327 is a reply to message #77326] |
Tue, 23 August 2011 12:08  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
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
--
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.")
|
|
|