Matlab中的克隆图-具有属性和数据 [英] Clone figure in Matlab - with properties and data

查看:53
本文介绍了Matlab中的克隆图-具有属性和数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在matlab中编写了一个脚本,该脚本可以得出一组数据.

I write a script in matlab, which produces figures out a set of data.

在格式化方面,这些数字应该非常相似,并且每个数字都应显示一组数据(它是嵌入3d域的图形).此外,每个这些图都应在该3d域内显示一组粒子.

The figures are supposed to rather similar with respect to formating, and each of them is ought to display a set of data ( it is graph embedded in a 3d-domain ). Each of these figures is ought furthermore to display a set of particles within that 3d-domain.

所以我想创建第一个图,然后制作几个图,然后放入数据集中.但是,我不知道如何以简单的方式在Matlab中创建人物的克隆.

So i would like to create the first figure, then make several copies of it, and put in the data sets. However, I do not know, how I can create clones of a figure in Matlab in a simple way.

您知道吗,我该如何克隆数字?

Do you know, how I can clone figures?

联机文档无济于事.非常感谢你!

The online documentation didn't help. Thank you very much!

推荐答案

MATLAB的内置函数

MATLAB's built-in function copyobj should also work. Here's an example:

peaks;
f2=copyobj(gcf,0);

这篇关于Matlab中的克隆图-具有属性和数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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