An easy gif generator
Updated 30 Jan 2021

View License

Check out the Examples tab ^^^.

This function is intended to streamline the process of making gifs. Simply call


to first the first frame, and then call


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.

View more styles
MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Animation in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!


Version Published Release Notes

Added option to specify image resolution. Also changed default frame from gca to gcf.

typo fix.