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

Home » Public Forums » archive » Re: How to close all figures at the same
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
Re: How to close all figures at the same [message #56493] Thu, 25 October 2007 17:31 Go to next message
Nianming Zuo is currently offline  Nianming Zuo
Messages: 13
Registered: August 2007
Junior Member
Short-cut! Matt, thank you!

On 10 25 , 10 08 , Matt <sav...@nsidc.org> wrote:
> On Oct 25, 1:17 am, Nianming Zuo <nianm...@gmail.com> wrote:
>
>> A routine produces many figures, and after I view these results,
>> I want to close all of them easily.
>
>> In Matlab(R), it can be done by "close all" (I remenber not clearly).
>> But what shell I do in IDL in command line ?
>
> I always use the simple:
>
> IDL> while 1 do wdelete
>
> Works for me.
>
> Matt
> --
> Matthew Savoie - Scientific Programmer
> National Snow and Ice Data Center
> (303) 735-0785 http://nsidc.org
Re: How to close all figures at the same [message #56520 is a reply to message #56493] Thu, 25 October 2007 07:08 Go to previous messageGo to next message
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
On Oct 25, 1:17 am, Nianming Zuo <nianm...@gmail.com> wrote:
> A routine produces many figures, and after I view these results,
> I want to close all of them easily.
>
> In Matlab(R), it can be done by "close all" (I remenber not clearly).
> But what shell I do in IDL in command line ?

I always use the simple:

IDL> while 1 do wdelete

Works for me.

Matt
--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
Re: How to close all figures at the same [message #56523 is a reply to message #56520] Thu, 25 October 2007 03:20 Go to previous messageGo to next message
Nianming Zuo is currently offline  Nianming Zuo
Messages: 13
Registered: August 2007
Junior Member
Hi, Paolo,

Thank you so much! It's indeed a very useful function.

Best,

Nico


On 10 25 , 4 18 , pgri...@gmail.com wrote:
> Use: wdel,/all
>
> You can find wdel.pro at:
>
> http://sohowww.nascom.nasa.gov/solarsoft/gen/idl/display/wde l.pro
>
> Cheers,
> Paolo
>
>
>
> Nianming Zuo wrote:
>> A routine produces many figures, and after I view these results,
>> I want to close all of them easily.
>
>> In Matlab(R), it can be done by "close all" (I remenber not clearly).
>> But what shell I do in IDL in command line ?- -
>
> - -
Re: How to close all figures at the same [message #56524 is a reply to message #56523] Thu, 25 October 2007 01:18 Go to previous messageGo to next message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Use: wdel,/all

You can find wdel.pro at:

http://sohowww.nascom.nasa.gov/solarsoft/gen/idl/display/wde l.pro


Cheers,
Paolo


Nianming Zuo wrote:
> A routine produces many figures, and after I view these results,
> I want to close all of them easily.
>
> In Matlab(R), it can be done by "close all" (I remenber not clearly).
> But what shell I do in IDL in command line ?
Re: How to close all figures at the same [message #56569 is a reply to message #56524] Sat, 27 October 2007 15:53 Go to previous message
jm is currently offline  jm
Messages: 32
Registered: April 2003
Member
On Oct 26, 10:16 pm, Ed Hyer <ejh...@gmail.com> wrote:
>> IDL> while 1 do wdelete
>
> Tres elegant! And here I had been muddling along with:
>
> IDL> for i=0,99 do wdelete

Perhaps a smidgen more "elegant":

WHILE (!D.Window NE -1) DO WDELETE

-JM
Re: How to close all figures at the same [message #56572 is a reply to message #56520] Fri, 26 October 2007 14:16 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
> IDL> while 1 do wdelete

Tres elegant! And here I had been muddling along with:

IDL> for i=0,99 do wdelete
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2D K-S test
Next Topic: layer stacking question

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

Current Time: Wed Oct 08 13:38:49 PDT 2025

Total time taken to generate the page: 0.00759 seconds