ginputで出力されるグラフを最大化したい。
Show older comments
普通に実行するだけでは、適当なサイズのfigure内で実行されるが、画面サイズ全体にginputのfigureを表示するようにしたい。
Answers (1)
Megumi Fukuda
on 10 Mar 2021
以下のように、figureを出力して最大サイズにした上で、ginputを実行されるのはどうでしょうか?
n_point=1;
h = figure;
h.WindowState = 'maximized';
ginput(n_point);
figureの最大化については、こちらの質問も参考になるかと思います。
https://jp.mathworks.com/matlabcentral/answers/283259-figure
Categories
Find more on 視覚的探索 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!