Reading different txt files with iteration and plotting

Dear all,
I am trying to read different txt files in a folder by using the iterate list of files node after the list of files node. I am trying also to plot the second column as a function of the first column for every txtt file. For that I used the image to table node to put every plot in a single row. After the loop running the number of iteration equal to the number of files, it gives a duplicate of the first set of data containtained in the first txt file of the list instead of giving the plot of all the data in the different txt files. I join some examples of txt files.XY1308.txt (5.9 KB)
XY1310.txt (5.9 KB)
XY1312.txt (5.9 KB)
XY1318.txt (5.9 KB)

Could someone give me some help?
Thank you,

Hi,

I’m not sure if I understood your problem correctly, see attached workflow, hope it helps.
Upper branch generates 4 images (each for specific file), lower one outputs single image
on data collected from 4 input files.

Martin K.

reading_txt_files.zip (127.3 KB)

Thank you Martin,
I solved the problem, thank you very much.
Chakib,

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.