How can I animate my 3d surface like this?
4 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I want to present my data in a cool animated fashion as shown in this video: http://www.youtube.com/watch?v=JaMgi4XBjo8
Can this be done in MatLab? I'd be happy if the outputs were in form of a GIF or a movie?
Thank you
0 个评论
回答(2 个)
Titus Edelhofer
2014-11-12
Hi,
take a look at the function
doc VideoWriter
which includes a simple example.
Titus
Image Analyst
2014-11-18
See attached demo where I make a movie from animation being done by the surf() function.
2 个评论
Image Analyst
2015-1-2
To rotate your "camera", how about camorbit():
close all;
surf(peaks)
axis vis3d
for i=1:36
camorbit(10,0,'data',[0 1 0])
drawnow
pause(0.2);
end
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!