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

622 ビュー (過去 30 日間)
Kenjirou Oomori
Kenjirou Oomori 2021 年 7 月 21 日
回答済み: Atsushi Ueno 2021 年 7 月 21 日
figureコマンドで出てくるFigureのサイズを指定する方法はありますか?
現在はエクスポート設定からサイズを変換しているのですが
面倒くさいので最初からサイズを指定したいです。

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by