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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

KSSV
KSSV il 9 Feb 2017
Modificato: KSSV il 9 Feb 2017
You have to use csvwrite. Read about csvwrite

Più risposte (1)

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

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by