Open up a full size figure window on 2nd display

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.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Feb. 2024

0 Stimmen

You should add the option 'WindowState', 'maximized' or 'WindowState', 'fullscreen'

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

KAE
am 1 Feb. 2024

Kommentiert:

KAE
am 2 Feb. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by