Hiya, I have written two different methods to numerically differentiate a function and I am looking for a way to compare them. I have installed GNUPlot and would like to make a file (e.g. approximations.dat) for it to plot. At the moment my programn prints a series of columns with x-coordinate, approximation 1, approximation 2 and actual value like this:
x-coord approx 1 approx 2 actual
x-coord approx 1 approx 2 actual
x-coord approx 1 approx 2 actual
x-coord approx 1 approx 2 actual
... ... ... ...
Is there a way for me to make this into a file which can be input easily into GUPlot? Many thanks.
Jack