columns with time data need a special read-in function when
the dates are to be modified:
plot "blabla.dat" u (timecolumn(2)+timecolumn(4))/2:($6+$8)/2
agoniabogar wrote:
Dear Plotters,
I hope you can help me, I have two diagrams that I would like to match and generate the average of both the time and the value data.
...
plot "blabla.dat" u ($2+$4)/2:($6+$8)/2
...
This would be the simplest method to plot the average values both in the x and y axis. But I have elapsed time in the x axis and it seems that the program does not want to execute the simple column operation in the command (regarding the time, $2 and $4 columns). The output says " empty xrange. . ."
I used the set timefmt "%H:%M:%S" and the set xdata time commands prior to the plot.
Many thanks in advance,
Agoniabogar