Is there a close function to close a figure or "close all" to close all figures?
Thanks!
It's not implemented as the close command yet (there are name conflicts I think), but for close you can do:
octplot_command("delete",gcf());
close all is a bit trickier:
for hh=get(0,"children"), octplot_command("delete",hh); endfor
DISCLAIMER: untested code. If it doesn't work, tell me
Shai
The "close" command worked. The "close all" does not do anything. I will just use the "close" command then.
Log in to post a comment.
Is there a close function to close a figure or "close all" to close all figures?
Thanks!
It's not implemented as the close command yet (there are name conflicts I think), but for close you can do:
octplot_command("delete",gcf());
close all is a bit trickier:
for hh=get(0,"children"),
octplot_command("delete",hh);
endfor
DISCLAIMER: untested code. If it doesn't work, tell me
Shai
The "close" command worked. The "close all" does not do anything. I will just use the "close" command then.
Thanks!