Discussion:
How to close all figures at the same
(too old to reply)
Nianming Zuo
2007-10-25 07:17:34 UTC
Permalink
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 ?
p***@gmail.com
2007-10-25 08:18:10 UTC
Permalink
Use: wdel,/all

You can find wdel.pro at:

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


Cheers,
Paolo
Post by Nianming Zuo
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 ?
Nianming Zuo
2007-10-25 10:20:38 UTC
Permalink
Hi, Paolo,

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

Best,

Nico
Post by p***@gmail.com
Use: wdel,/all
http://sohowww.nascom.nasa.gov/solarsoft/gen/idl/display/wdel.pro
Cheers,
Paolo
Post by Nianming Zuo
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 ?- -
- -
Matt
2007-10-25 14:08:03 UTC
Permalink
Post by Nianming Zuo
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
Nianming Zuo
2007-10-26 00:31:08 UTC
Permalink
Short-cut! Matt, thank you!
Post by Matt
Post by Nianming Zuo
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 ?
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
Ed Hyer
2007-10-26 21:16:18 UTC
Permalink
Post by Matt
IDL> while 1 do wdelete
Tres elegant! And here I had been muddling along with:

IDL> for i=0,99 do wdelete
j***@dmu.ac.uk
2007-10-27 22:53:41 UTC
Permalink
Post by Ed Hyer
Post by Matt
IDL> while 1 do wdelete
IDL> for i=0,99 do wdelete
Perhaps a smidgen more "elegant":

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

-JM

Continue reading on narkive:
Loading...