出力されるFigureの大きさについて

645 views (last 30 days)
Kenjirou Oomori
Kenjirou Oomori on 21 Jul 2021
Answered: Atsushi Ueno on 21 Jul 2021
figureコマンドで出てくるFigureのサイズを指定する方法はありますか?
現在はエクスポート設定からサイズを変換しているのですが
面倒くさいので最初からサイズを指定したいです。

Accepted Answer

Atsushi Ueno
Atsushi Ueno on 21 Jul 2021
Position — 描画可能領域の位置とサイズ:[left bottom width height]
figure('Position', [100 100 500 400]);
f = figure;
f.Position = [100 100 500 400];
は同じです。
他にも様々な表示サイズの種類や、印刷用サイズ指定の類もありますが、規定の設定で連動するようになっているので、Positionを変更すれば事足ります。

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!