title: How to average values over a period of time with gnuplot?
body: <p>I have been polling one integer counter for a week with 1min interval, but I added a new value to log file only if the value had changed. Initial value of this counter was 0 and at the moment the value is 111440. Log file can be seen <a href="http://perl.nopaste.dk/p61757" rel="nofollow noreferrer">here</a>. Now if I tried to plot this data with gnuplot in a way that y-axe holds the value of the integer and x-axe holds the value of the time in minutes, then I obviously end up with a graph like this:</p>
  
  <p><img src="https://i.stack.imgur.com/tM4LV.png" alt="enter image description here"></p>
  
  <p>I should have stored each value even if it's the same as the previous one. At the moment I have only 3279 values stored while I have polled the counter 10080 times.</p>
  
  <p>However, is there a possibility to "stretch" or average those results over a period of 10080 minutes with gnuplot?</p>