I am using the command lines:
data = Import["file*.txt", "CSV"]
ListLinePlot[data]
to plot lists of points.
As you can notice, my file name is file*.txt
.
I use that star because I have multiple lists of points to plot.
The problem is that the command from above creates a single graphic, where the points from each file are colored differently.
How can I create a single graphic for each file?
For example if I have 3 files (file1.txt
, file2.txt
and file3.txt
) there should be 3 idependent graphics as an output.
ListLinePlot@*Import[#,"CSV"]&/@FileNames["file*.txt"]
$\endgroup$