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 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 19 Feb 2014
Edited: Walter Roberson
on 19 Feb 2014
But look also at the "AVI file from animation" example at http://www.mathworks.com/help/matlab/ref/videowriterclass.html
0 Comments
See Also
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!