Version (2.21 KB) by Samir
It zoom in the x axes and save the animation as gif file.
Updated 10 Mar 2016

View License

It takes in either file name or figure handle of existing figure, OR ask for .fig file using gui. For best experience at first run zoomplot without any input argument.
% Use with either a .fig file or existing figure handle
% Will give you error if figure handle is of deleted figure
% Name of existing .fig mustbe in 'Myplot.fig' format
% This function changes xlim for various values and
% generates animated gif out of it.
% To change zoom level change the value of N in this function
% After the conversion the function will ask where to save the GIF file.

Cite As

Samir (2024). zoomplot(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/55906-zoomplot-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes