gif

An easy gif generator

8.2K Downloads

Updated 30 Jan 2021

View License

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.

View more styles
MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
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!

gif

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.