semi-extrinsic - 2012-09-19

Is there any way currently of doing calculations on data from files?

Specifically, I would like to plot one data file with experimental results, one data file with simulation results, calculate the sum of  and then set a title for the simulation results plot like this (pseudo-code syntax):

plot simres.dat u 1:2 ti "Simulations results, AAD: $error"

Is this possible with Pyxplots? I have managed to do it using a shell script (zsh with arrays and floating-point math) and lots of sed and awk to extract the data. But it feels like Pyxplot should be able to do this in a much simpler way, as it has the data available.

(If this is not possible currently, this should be moved to "Feature requests")