查看单个帖子
旧 2019-12-04, 16:41   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 修改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。

如何解决这个问题?



更多&回答...
poster 当前离线   回复时引用此帖