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

Home » Public Forums » archive » Programmatically close all function graphics windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Programmatically close all function graphics windows [message #93577 is a reply to message #93576] Thu, 25 August 2016 09:27 Go to previous messageGo to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le jeudi 25 août 2016 16:50:20 UTC+2, wlandsman a écrit :
> Is there a way to programmatically close all function graphics windows (as opposed to clicking the close button). In direct graphics the following code will do this
>
> Device,window_state = w ;Get a list of all windows
> g = where(w,/null) ;Which ones a open?
> for each win,g do wdelete,win ;Delete the open windows
>
> In function graphics, if you have the all the plot reference objects, say p1, p2, p3 then you can close the windows with p1.close, p2.close,p3.close But what if you haven't saved the plot reference objects?
>
>
> Thanks, -Wayne

You might use GETWINDOWS() function.
alx.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: XYOUTS and ORIENTATION keyword: use negative values to anchor on end of string
Next Topic: installing IDL 8.5.1 on Ubuntu 16.04

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

Current Time: Wed Oct 08 17:34:07 PDT 2025

Total time taken to generate the page: 0.00458 seconds