Check out the Examples tab ^^^.
This function is intended to streamline the process of making gifs. Simply call
gif('myfile.gif')
to first the first frame, and then call
gif
to write each subsequent frame. That's it.
Cite As
Greene, Chad A., et al. “The Climate Data Toolbox for MATLAB.” Geochemistry, Geophysics, Geosystems, vol. 20, no. 7, American Geophysical Union (AGU), July 2019, pp. 3774–81, doi:10.1029/2019gc008392.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
Tags
Acknowledgements
Inspired by: GIF Player, Movie to GIF Converter, Animated GIF, animated-gif creator, Animated gif generator from images, frames2gif, Change frame delay in GIF file, Animated GIF, Create AVI or GIF
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
gif
gif/doc
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.1 | Added option to specify image resolution. Also changed default frame from gca to gcf. |
|
|
1.0.0.0 | typo fix. |