Open up a full size figure window on 2nd display

2 ビュー (過去 30 日間)
KAE
KAE 2024 年 2 月 1 日
コメント済み: KAE 2024 年 2 月 2 日
I have a laptop and connect different external displays to it (just one external display at a time). I would like to open up a figure window that completely fills the external display. Will this do it, regardless of the resolution etc. of the external display?
f1 = figure('units', 'normalized', 'outerposition', [1 0 1 1]);
Just making sure I'm not missing anything.

採用された回答

Walter Roberson
Walter Roberson 2024 年 2 月 1 日
You should add the option 'WindowState', 'maximized' or 'WindowState', 'fullscreen'
  1 件のコメント
KAE
KAE 2024 年 2 月 2 日
Many thanks. This will really help my project.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by