MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   修改autoArrangeFigures(来自Matlab文件交换)以将不同的图发送到不同的监视器 (https://www.labfans.com/bbs/showthread.php?t=22394)

poster 2019-12-04 16:41

修改autoArrangeFigures(来自Matlab文件交换)以将不同的图发送到不同的监视器
 
使用

autoArrangeFigures(0,0,2); % (0,0,x) where x is monitor ID 人们可以选择放置所有图形的位置。但是,我想控制哪些数字显示在哪个监视器上。

MWE尝试:

close all; clear all; clc % make 10 figures for i=1:10 figure() end autoArrangeFigures(0,0,2); % (0,0,x) where x is monitor ID pause(2) % make 10 figures for i=1:10 figure() end autoArrangeFigures(0,0,1); % (0,0,x) where x is monitor ID 这只会将所有20个数字重定向到新的显示器位置。它不会保留监视器2中第一次调用autoArrangeFigures(0,0,2)的10个图形位置,而是通过autoArrangeFigures(0,0,1)将所有10 + 10个图形重定向到监视器1。

如何解决这个问题?



[url=https://stackoverflow.com/q/59171850]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 05:05

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.