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

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by