Plotting multiple text files columns in the same graph
Ältere Kommentare anzeigen
Hi guys, I have about 25 files consisting of 300 rows and 3 columns.
I'd like to plot the first column of each file in the same graph. Is it possible?
Thanks in advance !
3 Kommentare
Ced
am 6 Mär. 2016
Gabriel Maya
am 6 Mär. 2016
Bearbeitet: Walter Roberson
am 6 Mär. 2016
Stephen23
am 7 Mär. 2016
@Gabriel Maya: don't use cd to switch between files: this is slow and buggy. It is much more faster and more reliable to pass full/relative filepaths to your file handling functions, exactly as Walter Roberson shows in their answer. Also you should avoid using eval for such trivial code, which is also slow and buggy way to program.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu String Parsing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!