Get XData, YData, and ZData from a figure.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function gets XData, YData, and ZData from a figure.
function [xdata,ydata,zdata]=read_figure(filename)
Input:
filename: filename of the figure.
Output:
xdata: a cell array where xdata{i} contains the XData vector of the ith plot in the figure.
ydata: a cell array where xdata{i} contains the YData vector of the ith plot in the figure.
zdata: a cell array where xdata{i} contains the ZData vector of the ith plot in the figure.
Cite As
Ayad Al-Rumaithi (2026). Read Figure (https://au.mathworks.com/matlabcentral/fileexchange/129019-read-figure), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.15 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
