data from figures without data

1 Ansicht (letzte 30 Tage)
DARLINGTON ETAJE
DARLINGTON ETAJE am 3 Sep. 2019
Beantwortet: Subhadeep Koley am 6 Sep. 2019
Hello family,
how do I extract experimental values or data from a figure using matlab

Akzeptierte Antwort

Subhadeep Koley
Subhadeep Koley am 6 Sep. 2019
The following code might help.
% Open your figure
fig = openfig('example.fig');
% Find Xdata and YData objects
dataObjs = findobj(fig,'-property','YData');
y1 = dataObjs(1).YData;
dataObjs = findobj(fig,'-property','XData');
x1 = dataObjs(1).XData;

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by