Get figures and use them to build a video.avi
Show older comments
Hello, I have developed an algorithm that shows at every iteration a figure as follow:
figure
imshow(processo(:,:,1,i))
hold on
plot(X,Y,'o')
plot(X0,Y0,'o')
plot(X1,Y1,'o')
plot(X2,Y2,'o')
plot(X3,Y3,'o')
end
What I need is to save in an array each figure (i.e. imshow with each plot) and build an .avi video from them. Any suggestions?
Thanks in advance, Davide
Accepted Answer
More Answers (2)
Image Analyst
on 11 Sep 2018
10 votes
For what it's worth, I'm attaching my demo for creating a video from different surfaces made with the surf() function.
2 Comments
John Hatrick
on 14 Jan 2021
Love it thank you!
Rohit Nandwani
on 24 Aug 2021
Thank You! :-)
Leostar90
on 31 Mar 2022
0 votes
Thanks for such a perfect answer
Categories
Find more on Call Python from MATLAB 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!