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

Home » Public Forums » archive » Re: IDL Display under RH7
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL Display under RH7 [message #23441] Fri, 26 January 2001 14:52 Go to next message
Pavel A. Romashkin is currently offline  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 Go to previous message
davidf is currently offline  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 Go to previous message
Todd Clements is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RPC Linux Make
Next Topic: Probably a simple question, but I'm only a beginner with this IDL stuff :)

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

Current Time: Wed Oct 08 20:02:17 PDT 2025

Total time taken to generate the page: 0.42378 seconds