Borrar filtros
Borrar filtros

Matlab will only use upper left corner when laptop is disconnect from large display how do I reset plotting to use the entire figure

23 visualizaciones (últimos 30 días)
Matlab 2015b. When I disconnect my laptop (Mac book pro ) from my large monitor, and use the laptop the plotting is hosed. What happens is the plot only occupies the user left had corner of the figure window.
The only way I have found to fix this is to bring Matlab down and restart it. Is there a method other than restarting Matlab to fix the plotting so that it uses the entire figure window when I disconnect the laptop from the large monitor.

Respuesta aceptada

Image Analyst
Image Analyst el 11 de En. de 2016
See what happens if you minimize it and then maximize it.

Más respuestas (1)

Kelly Kearney
Kelly Kearney el 11 de En. de 2016
Unfortunately, no. Matlab only checks for screen size, monitor position, resolution, etc once when it first starts, and all its subsequent plotting assumes this to stay constant. So if you add or remove a display, you need to restart Matlab to get the appropriate behavior.
I've reported this, and related dual-monitor problems, to the Mathworks before. Their response has always been that Matlab does not officially support multiple monitors, so we're out of luck. That's always been mildly annoying, though it's become more so with the new handle graphics for the reason you mention.
  4 comentarios
Dahai Xue
Dahai Xue el 12 de Nov. de 2018
I am using 2018b, and I don't think anything has been done for this. I started my laptop with connected external monitor with the builtin monitor closed/off, and start MatLab on that external monitor. Using get(groot, 'ScreenSize'), I only get the monitor size of the builtin monitor, and my GUI behaves just like that. It has been confusing when I started my GUI on a Desktop with similar monitors, when the figure looks much smaller.
Kristin Fitzmorris
Kristin Fitzmorris el 2 de Abr. de 2022
I'm using 2019b and still running into this issue. Would be great to at least understand how MATLAB determines the numer of monitors when staring up, so I could write my own function to reset the number of monitors if I disconnect my laptop.

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance 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