data from figures without data

조회 수: 4 (최근 30일)
DARLINGTON ETAJE
DARLINGTON ETAJE 2019년 9월 3일
답변: Subhadeep Koley 2019년 9월 6일
Hello family,
how do I extract experimental values or data from a figure using matlab

채택된 답변

Subhadeep Koley
Subhadeep Koley 2019년 9월 6일
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;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by