How to create .csv file from curve plot as a results of our run?

2 ビュー (過去 30 日間)
Danny Eldo
Danny Eldo 2017 年 2 月 9 日
回答済み: José-Luis 2017 年 2 月 9 日
Hi matlab users,
i got a curve as a results of my running. How can i convert its raw data into .csv? with variable Load as y-axis and displacement as x-axis in it?

採用された回答

KSSV
KSSV 2017 年 2 月 9 日
編集済み: KSSV 2017 年 2 月 9 日
You have to use csvwrite. Read about csvwrite

その他の回答 (1 件)

José-Luis
José-Luis 2017 年 2 月 9 日
lH = plot(aH,rand(100,1),rand(100,1));
xData = lH.XData;
yData = lH.YData;
csvwrite('dummy.txt',[xData', yData'])

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by