Message Boards Message Boards

Plotting several files

Posted 9 years ago

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 don't have any result.

Suggestions?

Thanks

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract