ginputで出力されるグラフを最大化したい。
조회 수: 12 (최근 30일)
이전 댓글 표시
普通に実行するだけでは、適当なサイズのfigure内で実行されるが、画面サイズ全体にginputのfigureを表示するようにしたい。
댓글 수: 0
답변 (1개)
Megumi Fukuda
2021년 3월 10일
以下のように、figureを出力して最大サイズにした上で、ginputを実行されるのはどうでしょうか?
n_point=1;
h = figure;
h.WindowState = 'maximized';
ginput(n_point);
figureの最大化については、こちらの質問も参考になるかと思います。
https://jp.mathworks.com/matlabcentral/answers/283259-figure
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!