can I obtain the values of a plot in tabular form
2 ビュー (過去 30 日間)
古いコメントを表示
I need the coordinate values of each and every point which are combined together to form a graph in a Tabular form, can I?
4 件のコメント
回答 (1 件)
Von Duesenberg
2018 年 3 月 19 日
It depends on the kind of plot you have, but the following example should put you on the right track:
plot(1:10,[1 2 1 2 3 2 1 2 3 2], 'ro')
ax = get(gca, 'Children');
xData = ax.XData;
yData = ax.YData;
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!