![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/727364/image.png)
How to set matlab to open all figure windows as floating windows
6 次查看(过去 30 天)
显示 更早的评论
I am using a stacking window manager with linux (i3wm). Currently matlab opening all windows as normal windows including figure windows. And there is no attribute(window title, window role, ...) attached to the figure windows to catch the floating status. Otherwise I could add a rule to force these windows to be floating. Is there any internal way(matlab way) to open these windows as floating windows?
Example:-
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/724384/image.png)
0 个评论
采纳的回答
Shanmukha Voggu
2021-9-2
Hi Ramesh,
Go through the above link, download, and extract the autoArrangeFigures.m file. Add this file to the Matlab path.
Here is an example of arranging figures
close all
%% make 10 figures
for i=1:10
figure()
end
autoArrangeFigures(5,2,1);
%first and second arguments represent 5 rows and 2 columns in the grid of figures
%last argument is the monitor id(useful when using dual monitors)
The figure windows after the arrangement:-
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/727364/image.png)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!