Plotting selected column vs column from multiple .dat files in one graph

2 次查看(过去 30 天)
Hello matlab comunity,
I have 60 similar file as the attached two.I want to plot coulmn 2 vs column 7 as (x,y). All 60 curve in the same graph.
Can you help me to write a script with these two files then i will extend it to 60.
My actual data are in ascii format(.dat). I can not attach .dat so i have converted then to .txt and attached here. Will the same script work for .dat file also?
Thanks a lot in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by