getFigureData(handle)
Version 1.1.0.0 (1.09 KB) by
Reed Espinosa
Simple function to pull data from a figure
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 LinuxCategories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
