How do you save the figures of a surface plot in some named file so that you can later used the saved figures to put together a movie?
2 次查看(过去 30 天)
显示 更早的评论
I used the following below, but it does not work.
for j = 1 : : 1: 1000;
F (j) = getframe(gcf); %capture an image
image(F.cdata);
colormap(F.colormap);
j = j+1;
end
0 个评论
回答(1 个)
Walter Roberson
2014-2-19
编辑:Walter Roberson
2014-2-19
But look also at the "AVI file from animation" example at http://www.mathworks.com/help/matlab/ref/videowriterclass.html
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!