Move all figures to a specific monitor?
36 ビュー (過去 30 日間)
古いコメントを表示
I have two monitors, I prefer to write code on primary monitor and view figures on secondary monitor. I have managed to make the newly generated figure display on secodary screen by setting properties of the root object in startup.m.
set(0, 'DefaultFigurePosition', [-1120, 538, 560, 420]); %make the new figure display on a second screen, hard-encode the positions
However, when I double-click a figure that was previously saved in .fig format in the file explorer, the figure would display on primary monoitor.
Is there any way can avoid this? Or, can I move all the figures on primary monitor to secondary monitor with their relative positions unchanged?
0 件のコメント
回答 (2 件)
Dhananjay Kumar
2019 年 12 月 4 日
See this thread: Is it possible to viewing the "figure" window on second display?
1 件のコメント
Rik
2019 年 12 月 4 日
This could help, although normally the position is one of the properties that are stored in the fig file, so this cannot be applied directly.
参考
カテゴリ
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!