Hello everyone,
I have a sequence of files which named like plot_1.txt, plot_2.txt… plot_i.txt… plot_40.txt. The first column of these files is the time. The second column is the value of my interest. All these files have the same first column but different second column. The contents of these file is like:
Time Numbers
1 33
2 127
3 227
4 283
...
Now I want to use Gnuplot to get a graph of Time (first column) vs. mean value of Numbers (second column) and with errorbars on the graph.
Do I have to process these files manually to get the average value together with the Second Deviation of the second column, and then use Gnuplot to plot the file?
If Gnuplot cannot give the mean value of the second column and second deviation directly, and I need to obtain these two values myself. Because there are too many files for manually calculation, could you please give me some advice on how to do this fast and accurate?
Any help would be much appreciated!