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

Home » Public Forums » archive » Re: contour and backingstore
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: contour and backingstore [message #11665] Tue, 19 May 1998 00:00
R. Bauer is currently offline  R. Bauer
Messages: 137
Registered: November 1996
Senior Member
R. Bauer wrote:

> Hi
>
> I have a problem sometimes with contour.
> Thats the platform and version I am using.
>
> ARCH STRING 'ibmr2'
> OS STRING 'AIX'
> OS_FAMILY STRING 'unix'
> RELEASE STRING '5.0.3'
> BUILD_DATE STRING 'Nov 3 1997'
>
> The contour is working well but sometimes it seems to me that some parts
> are not contoured correctly on
> screen.
> By chance I have seen if I move an other window like idlde it erases the
> wrong "colors".
> I believe that's the contouring is good but I will have a problem with
> the colors or something else.
>
> At the moment I use a work around:
> window,10,xsize=1600,ysize=1024
> wdelete,10

We saw that's idl 4 did not have this problem.




--
R.Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
Re: contour and backingstore [message #11669 is a reply to message #11665] Mon, 18 May 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R. Bauer (r.bauer@fz-juelich.de) writes:

> I have a problem sometimes with contour.
> The contour is working well but sometimes it seems to me that some parts
> are not contoured correctly on screen.
> By chance I have seen if I move an other window like idlde it erases the
> wrong "colors".

I don't understand this problem. Does this machine have
a 24-bit graphics card?

> The better way will be to use the backingstore directly.

Set the RETAIN flag to 2 either on the window used for the
contour plot:

IDL> Window, Retain=2

Or, for all windows:

IDL> Device, Retain=2

This causes IDL to take control of the backing store. You
can also do it yourself with a pixmap and the Device Copy
technique if you wish, although this is more easily done
in a draw widget window.

Cheers,

David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pv-wave 6.2
Next Topic: Multivariate interpolation

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

Current Time: Wed Oct 08 09:14:44 PDT 2025

Total time taken to generate the page: 0.00654 seconds