data from figures without data
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello family,
how do I extract experimental values or data from a figure using matlab
댓글 수: 1
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
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!