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

Home » Public Forums » archive » X Windows Graphics under RH Linux 5.2
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
X Windows Graphics under RH Linux 5.2 [message #15030] Mon, 19 April 1999 00:00 Go to next message
Steven Riley is currently offline  Steven Riley
Messages: 3
Registered: April 1999
Junior Member
I'm currently playing with IDL and trying to persuade my department to
purchase a copy. It doesn't seem to want to maintain its images in X
Windows. The charts go to the graphics window initially, but they wiull
never be updated, even to the point that if the window is minimised when
you plot initially the chart will not appear when you maximise.

Is this a problem with the demo mode (IDL 5.1 BTW), in which case I think
its bringing cripple-ware to a whole new level, or can I expect it to
persist even if we invest in the package.

TIA

Steven

----------------------------------
Steven Riley
----------------------------------
Wellcome Trust Centre for the
Epidemiology of Infectious Disease
University of Oxford
South Parks Road
Oxford
OX1 3PS
----------------------------------
Linacre College
Oxford
OX1 3JA
----------------------------------
01865 - (2)81229 (W)
01865 - (4)31403 (H)
----------------------------------
Re: X Windows Graphics under RH Linux 5.2 [message #15124 is a reply to message #15030] Mon, 19 April 1999 00:00 Go to previous messageGo to next message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
Steven Riley <sedm0826@sable.ox.ac.uk> writes:

> I'm currently playing with IDL and trying to persuade my department to
> purchase a copy. It doesn't seem to want to maintain its images in X
> Windows. The charts go to the graphics window initially, but they wiull
> never be updated, even to the point that if the window is minimised when
> you plot initially the chart will not appear when you maximise.

> Is this a problem with the demo mode (IDL 5.1 BTW), in which case I think
> its bringing cripple-ware to a whole new level, or can I expect it to
> persist even if we invest in the package.

It sounds like you're having problems with the backing store. If you use the
command

DEVICE, RETAIN=2

before creating any windows, then this problem should go away.

William Thompson
Re: X Windows Graphics under RH Linux 5.2 [message #15125 is a reply to message #15030] Mon, 19 April 1999 00:00 Go to previous messageGo to next message
korpela is currently offline  korpela
Messages: 59
Registered: September 1993
Member
In article <Pine.OSF.4.10.9904192204320.20667-100000@sable.ox.ac.uk>,
Steven Riley <sedm0826@sable.ox.ac.uk> wrote:
> It doesn't seem to want to maintain its images in X
> Windows. The charts go to the graphics window initially, but they wiull
> never be updated, even to the point that if the window is minimised when
> you plot initially the chart will not appear when you maximise.

> Is this a problem with the demo mode (IDL 5.1 BTW), in which case I think
> its bringing cripple-ware to a whole new level, or can I expect it to
> persist even if we invest in the package.

By default, IDL doesn't retain window contents. You can change this behavior
by adding a line for "idl*retain" in your .Xdefaults (or equivalent) file.
Mine .Xdefaults has the line...

idl*retain: 1

If you X server doesn't have it own backing store (old low-memory X terminals)
IDL can supply its own backing store if you specify and idl*retain of 2.

Anyone know if there's an idl*decomposed keyword? :)

Eric


--
Eric Korpela | An object at rest can never be
korpela@ssl.berkeley.edu | stopped.
<a href="http://sag-www.ssl.berkeley.edu/~korpela">Click for home page.</a>
Re: X Windows Graphics under RH Linux 5.2 [message #15127 is a reply to message #15030] Mon, 19 April 1999 00:00 Go to previous messageGo to next message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Steven Riley wrote:
> I'm currently playing with IDL and trying to persuade my department to
> purchase a copy. It doesn't seem to want to maintain its images in X
> Windows. The charts go to the graphics window initially, but they wiull
> never be updated, even to the point that if the window is minimised when
> you plot initially the chart will not appear when you maximise.
> Is this a problem with the demo mode (IDL 5.1 BTW), in which case I think
> its bringing cripple-ware to a whole new level, or can I expect it to
> persist even if we invest in the package.

Steven,

I don't think you've encountered a limitation of the demo version; it's
just the way the PLOT command works. For example, if you type

IDL> plot, indgen(10)

and then change the window size, PLOT does not know that the window size
changed. To get this functionality, you have a few options:

(2) Download http://www.dfanning.com/programs/xwindow.pro and try this:

IDL> xwindow, 'plot', indgen(10)

(1) Try the Insight application that comes with IDL by typing the
following at the command line:

IDL> insight

Cheers,
Liam.

---
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
Re: X Windows Graphics under RH Linux 5.2 [message #15142 is a reply to message #15030] Sat, 24 April 1999 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Eric J. Korpela (korpela@islay.ssl.berkeley.edu) writes:

> Anyone know if there's an idl*decomposed keyword? :)

This would avoid too much confusion and give me one
less excuse to avoid working on my book. I'm dead set
against it. :-(

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: X Windows Graphics under RH Linux 5.2 [message #15267 is a reply to message #15030] Wed, 05 May 1999 00:00 Go to previous message
David B. Wolff is currently offline  David B. Wolff
Messages: 2
Registered: November 1998
Junior Member
Steven,

You should issue a device command before opening a window

device, retain=2

This will allow a backing store to occur and should solve your problem.

David Wolff
NASA/GSFC


Steven Riley wrote:

> I'm currently playing with IDL and trying to persuade my department to
> purchase a copy. It doesn't seem to want to maintain its images in X
> Windows. The charts go to the graphics window initially, but they wiull
> never be updated, even to the point that if the window is minimised when
> you plot initially the chart will not appear when you maximise.
>
> Is this a problem with the demo mode (IDL 5.1 BTW), in which case I think
> its bringing cripple-ware to a whole new level, or can I expect it to
> persist even if we invest in the package.
>
> TIA
>
> Steven
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help: how to do ?
Next Topic: Re: How to plot great circles on a map?

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

Current Time: Wed Oct 08 14:01:18 PDT 2025

Total time taken to generate the page: 0.01171 seconds