getFigureData(handl​e)

Simple function to pull data from a figure
284 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 (2026). 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 Creating, Deleting, and Querying Graphics Objects in Help Center and MATLAB Answers
Tags Add Tags
Version Published Release Notes
1.1.0.0

fixed single data set bug

1.0.0.0