How to handle (e.g. close) windows generated by the "view" function?

3 Ansichten (letzte 30 Tage)
Antje
Antje am 10 Jul. 2013
Beantwortet: Joshua Mckone am 17 Dez. 2018
Hi,
I want to handle the figures that are generated by the view function, like changing the size or just closing them.
One small example for classification trees, but I have the same problem with other tools:
load ionosphere
tc = ClassificationTree.fit(X,Y);
view(tc,'mode','graph')
This is what I already tried, but nothing affects the view window.
set(gcf,'position',[100 1100 1700 700]);
close(gcf)
close all
Thank you very much for your ideas!

Antworten (3)

Sean de Wolski
Sean de Wolski am 25 Jan. 2017
delete(allchild(groot))

Joshua Mckone
Joshua Mckone am 17 Dez. 2018
close all force;

Qi Wei
Qi Wei am 25 Jan. 2017
Hi Antje, Have you found a solution for your problem? Thanks! Qi

Kategorien

Mehr zu Get Started with Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by