Figure Window Will Not Open
Show older comments
Occasionally Matlab fails to generate figures. If I'm using .m a window briefly pops up blank, then disappears. I'll have a window titled "Figure 1" but I'm unable to open it. If I'm using .mlx the plot will appear on the side bar but the same issue occurs when I try to open the figure. I do not get an error message... This seems to happen mostly with larger figures (most recently 3x4 subplot). What could be the problem?
Answers (1)
Walter Roberson
on 6 Sep 2020
Edited: Walter Roberson
on 6 Sep 2020
You can get that effect if the figures are being opened but with Visible set to 'off'
If you have a saved figure and its Visible property is off, then MATLAB will not display the figure when you open it; you would need to set Visible on again.
If your code has somehow done
set(groot, 'DefaultFigureVisible', 'off')
then all future figures in that session would have Visible off set for them unless it was overridden.
9 Comments
Camille Woicekowski
on 6 Sep 2020
Walter Roberson
on 6 Sep 2020
figs = findall(0, 'type', 'figure')
and see if it lists the figures you created.
Camille Woicekowski
on 6 Sep 2020
Walter Roberson
on 6 Sep 2020
To confirm, the figures are listed when you ask about them, but they are not visible ?
If you then
set(figs, 'visible', 'on')
does that help?
If not, then I suggest trying
opengl software
if you are on a Windows system
Camille Woicekowski
on 6 Sep 2020
Walter Roberson
on 6 Sep 2020
Could you show us the results of
opengl info
Also, are you using Windows 10?
Walter Roberson
on 6 Sep 2020
Also, as an experiment try
restoredefaultpath
rehash toolboxcache
Camille Woicekowski
on 6 Sep 2020
Walter Roberson
on 6 Sep 2020
Your drivers are fairly new, but you could try updating them to the newest, https://downloadcenter.intel.com/download/29808/Intel-Graphics-Windows-10-DCH-Drivers?product=88355
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!