Read Figure

Get XData, YData, and ZData from a figure.
8 Downloads
Updated 24 Sep 2024

View License

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 (2024). Read Figure (https://www.mathworks.com/matlabcentral/fileexchange/129019-read-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Added website.

1.0.0