How to get data points from graph
古いコメントを表示
hi,
I have graph, i need to prepare a table of the data for x and y terms. How should i get the data points from the enclosed graph, please let me know.
Regards,
Syed Mohiuddin
2 件のコメント
Dyuman Joshi
2023 年 12 月 1 日
It's not clear to me what you want to do.
What does 'terms' mean here?
Do you want to x and y coordinate values of the points used to plot that graph from the figure?
Syed Mohiuddin
2023 年 12 月 1 日
採用された回答
その他の回答 (1 件)
Mathieu NOE
2023 年 12 月 1 日
編集済み: Voss
2023 年 12 月 1 日
hello
the main code is very simple (use the attached function - credits to his creator !)
data = extract_data_from_figures('data points.fig');
VN = data.names; % variable names
data = data.Y;
x = data(:,1);
y = data(:,2);
figure(1)
plot(x,y);
3 件のコメント
Syed Mohiuddin
2023 年 12 月 1 日
Mathieu NOE
2023 年 12 月 4 日
you probably did not download the function with the link I mentionned above
for your convenience I attach here to this post
Syed Mohiuddin
2023 年 12 月 7 日
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



