返回信息流下面一段动画程序:
----------------------------------------------
Z = peaks; surf(Z);
axis tight
set(gca,'nextplot','replacechildren');
% Record the movie
for j = 1:20
surf(sin(2*pi*j/20)*Z,Z)
F(j) = getframe;
end
% Play the movie ten times
movie(F,10)
-------------------------------------------------
其中set(gca,'nextplot','replacechildren')是什么意思?
gca,nextplot','replacechildren'是如何用的?
这是一条镜像帖。来源:北邮人论坛 / matlab / #2772同步于 2008/2/18
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖
【求助】关于一段动画程序
chenwei
2008/2/18镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复