IDL 8 Display Updating Question [message #72679] |
Tue, 28 September 2010 09:01 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I realize it is possible to turn off display updating by
disabling the Refresh method of an object:
gobj = Barplot(/TEST)
gobj.Refresh, /DISABLE
... lots of changes
gobj. Refresh ; Now display the updated object
But you still see the initial bar plot (in this case)
and then there is a delay until the new, updated object
appears.
How would I turn off the initial display of the object?
I have tried writing the initial display to a buffer:
gobj = Barplot(/TEST, /BUFFER)
But then I can't figure out how to actually open a
new window and display the updated object in it. I
was hoping for something like this:
gobj = Barplot(/TEST, /BUFFER)
gobj.Refresh, /DISABLE
... lots of changes
win = Window()
gobj. Refresh , /CURRENT
But that doesn't work. Any ideas?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|