Greetings forum, I am not an expert in Mathematica, but I managed to learn by myself recently, My code and 2 data files are attached. The problem that I have is that I have multiple data files. I want to import all of them and be able to analyze and visualize them in the same notebook. I have problem defining variables, in my notebook you can see that I am importing 1st text file as "MyPoints400" then I can define some variables and plot them. But then when I want to do the same procedure for the next text file, I have to rename all the variables because they are already in use. Now for the next data file (xypoints300.txt) I have to change "MyPoints1" to "MyPoints2" , "pAll" to "pAll2" , etc. Can you help me clean my code in such a way that I first import all my text files and then have the set of variables so I don't have to copy / paste and rename them for each data file. Thank you in advance.
Attachments: