Animating an imported image
Show older comments
How to animate an imported image in a straight line?
Answers (2)
Image Analyst
on 1 Jan 2020
1 vote
See attached demo for how to turn something displayed in an axes, like an image or a plot, into a movie.
Image Analyst
on 1 Jan 2020
1 vote
See Steve's blog for how to create an animated gif:
4 Comments
Chelsea Mohammed
on 1 Jan 2020
Image Analyst
on 1 Jan 2020
There is no built-in code for that. You'll have to write it yourself from lower level things like plot() to draw the bottle, and patch() or fill() to fill it with some color.
Chelsea Mohammed
on 1 Jan 2020
Edited: Chelsea Mohammed
on 1 Jan 2020
Image Analyst
on 2 Jan 2020
See attached demo that has a start/stop button.
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!