MATLAB Answers

data from figures without data

조회 수: 2(최근 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
  댓글 수: 1
Adam Danz
Adam Danz 2019년 9월 3일
This is a common question with lots of existing answers in this forum.
Check out this link for advice on how to get help in this forum

댓글을 달려면 로그인하십시오.

채택된 답변

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개)

Community Treasure Hunt

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

Start Hunting!

Translated by