ginputで出力されるグラフを最大化したい。

普通に実行するだけでは、適当なサイズのfigure内で実行されるが、画面サイズ全体にginputのfigureを表示するようにしたい。

回答(1 个)

Megumi Fukuda
Megumi Fukuda 2021-3-10

0 个投票

以下のように、figureを出力して最大サイズにした上で、ginputを実行されるのはどうでしょうか?
n_point=1;
h = figure;
h.WindowState = 'maximized';
ginput(n_point);
figureの最大化については、こちらの質問も参考になるかと思います。
https://jp.mathworks.com/matlabcentral/answers/283259-figure

类别

帮助中心File Exchange 中查找有关 視覚的探索 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!