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.
引用格式
Ayad Al-Rumaithi (2025). Read Figure (https://www.mathworks.com/matlabcentral/fileexchange/129019-read-figure), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!