在背景中绘制多个图形 [英] Plot multiple figures in background

查看:80
本文介绍了在背景中绘制多个图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MATLAB代码,可以同时绘制多个图形.实现此目的的一般技巧是调用figure(figHandle),然后调用plot,例如

I have a MATLAB code that plots multiple figures at the same time. The general trick to achieve the same is to call figure(figHandle) and then make a call to plot, for e.g.

figure(h1);
plot(...args...);
figure(h2);
plot(...args...);

但是,我想在每次调用figure(figHandle)时都进行图形绘制而不会使图形成为前景.我要做的就是同时绘制多个图形而又不使其可见,最后将它们导出到Excel工作表(我已经导出到Excel工作表部分).

However, I want to do this plotting without bringing figures into foreground everytime I make a call to figure(figHandle). All I want to do is to plot multiple figures simultaneously without bringing them into visibility and export them to an excel sheet (I have figured out exporting to excel sheet part) in the end.

问题在于数字太多(大约100个),我必须手动将其关闭.最后,我只想要一张导出了数字的Excel工作表.

The problem is there are too many figures (around 100) and I have to manually close them down. All I want in the end is an excel sheet with figures exported.

谢谢.

推荐答案

如果问题在于关闭所有图形,则可以使用命令close all.

If the problem is to close all the figures you can just use the command close all.

这篇关于在背景中绘制多个图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆