Open up a full size figure window on 2nd display

5 visualizaciones (últimos 30 días)
KAE
KAE el 1 de Feb. de 2024
Comentada: KAE el 2 de Feb. de 2024
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Feb. de 2024
You should add the option 'WindowState', 'maximized' or 'WindowState', 'fullscreen'

Más respuestas (0)

Categorías

Más información sobre Graphics Objects en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by