Re: contour and backingstore [message #11665] |
Tue, 19 May 1998 00:00 |
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  |
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/
|
|
|