close a figure

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

close a figure

Daniel Heiserer
Hi,
I am looking for a "clf" which clears the plot in matlab and also a
"close" which closes the  plotting window. Is there an equivalent in
octave?

Does the "figure(j)" work to get the handle on the right figure?
If yes, what version of gnuplot do I need?


Thanks

--
Mit freundlichen Gruessen
                                 Daniel Heiserer
-----
--------------------------------------------------------------
Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
Abteilung EK-20
Tel.: 089-382-21187, Fax.: 089-382-42820
mailto:[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: close a figure

A. Scottedward Hodel-2
figure(n) is a call to gset term x11 ... with appropriate parameters
    (it's a short m-file, take a look).

closeplot is the function you want.  Unfortunately, it appears to
close all windows. I briefly skimmed the gnuplot on-line help.
The only way I see to kill an individual window is to press 'q'
while that window is in focus.  (gnuplot command).  

gnuplot wizards may be able to offer more helpful advice.

A S Hodel Assoc. Prof. Dept Elect Eng, Auburn Univ,AL  36849-5201
On leave at NASA Marshall Space Flight Center (205) 544-1426

----------
>From: Daniel Heiserer <[hidden email]>
>To: "[hidden email]" <[hidden email]>
>Subject: close a figure
>Date: Wed, Aug 19, 1998, 10:47 AM
>

>Hi,
>I am looking for a "clf" which clears the plot in matlab and also a
>"close" which closes the  plotting window. Is there an equivalent in
>octave?
>
>Does the "figure(j)" work to get the handle on the right figure?
>If yes, what version of gnuplot do I need?
>
>
>Thanks
>
>--
>Mit freundlichen Gruessen
>                                 Daniel Heiserer
>-----
>--------------------------------------------------------------
>Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
>Abteilung EK-20
>Tel.: 089-382-21187, Fax.: 089-382-42820
>mailto:[hidden email]
>