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

Home » Public Forums » archive » Removing Graphics from IDL 8.1 Window
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
Removing Graphics from IDL 8.1 Window [message #78646] Fri, 02 December 2011 10:27
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Does anyone know how to remove graphics commands from
IDL 8.1 windows so the window can be reused? For example, I
want to put a plot in the window, then later I want
to put a contour plot in the window. I use commands
something like this:

w = window()
w.select
p =plot(indgen(10),/CURRENT)
w.erase
c = contour(/test, /CURRENT)

But, the plot is still there when I resize the
window. If I add p.hide=1, then the plot itself
is hidden, but the axes are still there. (Actually,
everything is still there, but just not displayed.)

What I want is the equivalent of these Coyote Graphics
commands:

cgPlot, indgen(10), /Window
cgContour, cgDemoData(2), /Window

Any suggestions?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Finding Backward trajectory of wind data
Next Topic: Coyote and Catalyst Library Updates

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

Current Time: Fri Oct 10 06:06:36 PDT 2025

Total time taken to generate the page: 1.27534 seconds