I have been working with using GNUplot to provide live changes in data in a .dat file using the reread function. The data is constantly changing in the xdirection like the time parameter. If I use set autoscale x the maximum x keeps on increasing to accomodate the changes. However, I do not want the scale of the graph to change and want the minimum x to move as well.
To summarize, is there a way we can have an xrange which would change over the interval like
if (x>5000) set xrange[(x-4000):(x+1000)]; else set autoscale x
I don't know how to have my last entry as x input.
To make this query more universal, a familiar problem that someone might come across. Plotting a sine curve over an infinite time series such that your plot is updated like an ECG.