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

조회 수: 3 (최근 30일)
Antje
Antje 2013년 7월 10일
답변: Joshua Mckone 2018년 12월 17일
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!

답변 (3개)

Sean de Wolski
Sean de Wolski 2017년 1월 25일
delete(allchild(groot))

Joshua Mckone
Joshua Mckone 2018년 12월 17일
close all force;

Qi Wei
Qi Wei 2017년 1월 25일
Hi Antje, Have you found a solution for your problem? Thanks! Qi

카테고리

Help CenterFile Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by