Figure Window Will Not Open
显示 更早的评论
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?
回答(1 个)
Walter Roberson
2020-9-6
编辑:Walter Roberson
2020-9-6
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 个评论
Camille Woicekowski
2020-9-6
Walter Roberson
2020-9-6
figs = findall(0, 'type', 'figure')
and see if it lists the figures you created.
Camille Woicekowski
2020-9-6
Walter Roberson
2020-9-6
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
2020-9-6
Walter Roberson
2020-9-6
Could you show us the results of
opengl info
Also, are you using Windows 10?
Walter Roberson
2020-9-6
Also, as an experiment try
restoredefaultpath
rehash toolboxcache
Camille Woicekowski
2020-9-6
Walter Roberson
2020-9-6
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
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
