Re: IDL Display under RH7 [message #23441] |
Fri, 26 January 2001 14:52  |
Pavel A. Romashkin
Messages: 531 Registered: November 2000
|
Senior Member |
|
|
Try
Device, Retain=2
Cheers,
Pavel
Hugh Crowl wrote:
>
> In attempting to display plots in IDL running under Red Hat 7.0 (KDE),
> the plot comes up in the standard IDL graphics window, but if any of the
> other windows overlap with it, the part of the IDL window that was
> overlaped is erased. When the IDL window is brought up to the front, it
> doesn't redraw the figure but insted it remains blank.
>
> Maybe I should be posting this to a Linux (or KDE) newsgroup, but if
> anyone has any idea how to fix this (or it is a known IDL problem),
> please let me know.
>
> Hugh
|
|
|
Re: IDL Display under RH7 [message #23442 is a reply to message #23441] |
Fri, 26 January 2001 14:56  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Todd Clements (mole6e23@hotmail.com) writes:
> Retain is probably your problem:
>
> ;;
> window,1, retain=2
> plot, findgen(360), sin(findgen(360)*!pi/180)
> window,2, retain=2
> plot, findgen(360), cos(findgen(360)*!pi/180)
> ;;
I'd probably set it for all your windows at once:
Device, Retain=2
in your startup file, probably.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: IDL Display under RH7 [message #23443 is a reply to message #23441] |
Fri, 26 January 2001 14:49  |
Todd Clements
Messages: 23 Registered: January 2001
|
Junior Member |
|
|
Hugh Crowl <hugh@astro.yale.edu> wrote:
> In attempting to display plots in IDL running under Red Hat 7.0 (KDE),
> the plot comes up in the standard IDL graphics window, but if any of the
> other windows overlap with it, the part of the IDL window that was
> overlaped is erased. When the IDL window is brought up to the front, it
> doesn't redraw the figure but insted it remains blank.
Retain is probably your problem:
;;
window,1, retain=2
plot, findgen(360), sin(findgen(360)*!pi/180)
window,2, retain=2
plot, findgen(360), cos(findgen(360)*!pi/180)
;;
Works for me!
Todd
|
|
|