I have the following data sets:
1 3
2 4
3 2
4 10
5 9
6 8
7 6
8 2
9 1
10 0.5
and
0.1 8
1.2 8
2.1 7
3.4 6
4.3 6
5.2 7
4.5 5
6.4 8
7.2 4
8.2 3
9.1 2
I have plotted both with the following command:
plot 'data1' using 1:2 lc rgb 'blue' smooth csplines title 'data1', 'data2' using 1:2 lc rgb 'green' smooth csplines title 'data2'
I would like to calculate the difference and the deviation between these two splines. Is this possible in gnuplot?