getFigureData(handl​e)

Simple function to pull data from a figure
283 Downloads
Updated 4 Oct 2014

View License

This very simple function can be used to extract the data from a Matlab figure. It takes in either a figure handle or axis handle and returns all the corresponding data in the form of two cell arrays. It supports graphs with multiple sets of data as well as multiple axis.

Cite As

Reed Espinosa (2024). getFigureData(handle) (https://www.mathworks.com/matlabcentral/fileexchange/47944-getfiguredata-handle), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Object Identification 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
1.1.0.0

fixed single data set bug

1.0.0.0