I have several files what i would like to plot at once, they are .dat files and they have names as a numerical sequence from 1 to 4 (they are about a hundred but for the example 4 are ok) so i use
Do[ {p = Import["F:\P3 S2 L3\" <> ToString[i] <> "a.dat", "Table"];
ListPlot[{p}, Joined -> True, PlotRange -> {{0, 1000}, {0, All}},
PlotStyle -> {Blue}]},
{i, 1, 4}]
but i dont have any result
suggestions?
Thanks
Do
does not produce any output, useTable
instead. $\endgroup$Print@ListPlot..
in your loop if there are hundreds and you just want to display the plots individually. $\endgroup$