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 (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 LinuxCategories
Find more on Graphics Object Identification in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.