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/
|
|
|