First of all, I am pretty inexperienced with Mathematica. I am using it for data analysis for a lab class.
I have a file folder with my data as tab-separated values in .txt files. They are named data_##.txt. I would like to mass import the data into Mathematica, and then generate a ListPlot for each dataset. I don't need to do any analysis on the datasets--just visual inspection of the graphs.
Here is what I tried:
allData=Import["filepath\data_*", "Table"]
This generates
allData={{{x1,y1},{x2,y2},...}, {{x1,y1},{x2,y2},...}}
which is what I expected/wanted to happen. Each dataset is its own list of {x,y} values. Now I need to plot each dataset on a separate plot. When I use
ListPlot[alldata]
it plots all the datasets on the same graph. I understand why that is but I'm wondering if there's a way to quickly plot all the datasets with the way I've imported them. Right now I've just done
ListPlot[alldata [[a]]]
for each set (a = 1, 2, 3, etc). This works, but I feel like there should be a way to do this automatically.
Map
.ListPlot /@ allData
$\endgroup$