I am currently plotting graphs from multiple files. The data are basically time series with a timestamp in the first column and multiple measurements in the other columns. The timestamps do not exactly match in all files. Nevertheless I would like to plot the graphs stacked on top/above of the others. Has gnuplot means to facilitate that - e.g. also doing interpolation where necessary?
file1:
0.1 42 1 100
0.2 43 0 102
0.3 45 -2 105
file2:
0.15 38 -3 88
0.25 37 -2 88.5
plot 'file1' using 1:2 w l, 'file2' using 1:2 w l STACK_ME_PLEASE
So in this example I would like to show the points from file2 roughly at (0.15, 42.5+38)
and (0.25, 44+37)
- that is stacked on top of the graph from file1.