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.
Citar como
Ayad Al-Rumaithi (2026). Read Figure (https://es.mathworks.com/matlabcentral/fileexchange/129019-read-figure), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2017b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
