运行 没有开图的matlab子图
run matlab subplot without opening figure
我有以下 Matlab 2013b 代码:
subplot(2,2,1);plot(var([c1 c2],0,2)); title('var(c1,c2)');
subplot(2,2,2);plot(var([c3,c4],0,2));title('var(c3,c4)');
saveas(gcf,pth);
我想在不在 Matlab 中打开图形的情况下执行此代码 window。
这可能吗?如果没有,我希望在绘图时将数字 window 最小化。
如果您从调用 figure
开始,您可以更改可见性:
figure('Visible','Off')
将创建一个隐形人物window。
Figure properties 上的 MATLAB 文档还包含此警告:
Changing the Visible property of a figure does not change the Visible
property of its child components even though hiding the figure prevents its children from displaying.
我有以下 Matlab 2013b 代码:
subplot(2,2,1);plot(var([c1 c2],0,2)); title('var(c1,c2)');
subplot(2,2,2);plot(var([c3,c4],0,2));title('var(c3,c4)');
saveas(gcf,pth);
我想在不在 Matlab 中打开图形的情况下执行此代码 window。 这可能吗?如果没有,我希望在绘图时将数字 window 最小化。
如果您从调用 figure
开始,您可以更改可见性:
figure('Visible','Off')
将创建一个隐形人物window。
Figure properties 上的 MATLAB 文档还包含此警告:
Changing the Visible property of a figure does not change the
Visible
property of its child components even though hiding the figure prevents its children from displaying.