title: How to plot histogram in timeseries with gnuplot
body: <p>I am new to gnuplot and I would appreciate some help to understand how I can plot a timeseries histogram</p>
  <p>My data looks like this:</p>
  <pre><code>#Date    Time     WKB
  20130206 11:45:57 4544
  20130206 11:45:57 5113 
  20130206 11:45:57 5117 
  20130206 11:45:57 5123 
  20130206 11:45:57 5129 
  20130206 11:45:57 5151 
  ...................
  </code></pre>
  <p>I have data around 2 days.</p>
  <p>What I need is to plot following charts:</p>
  <ol>
  <li>Average of WKB for x minues (for e.g. 5 minutes) in histogram</li>
  <li>Cumulative sum of WKB for x minues (for e.g. 5 minutes) in histogram</li>
  </ol>
  <p>This my current script:</p>
  <pre><code>set xdata time
  set xtics 36000
  set timefmt &quot;%Y%m%d %H:%M:%S&quot;
  set format x &quot;%Y-%m-%dT%H:%M:%S&quot;
  plot using 1:3 title smooth cumulative
  </code></pre>
  <p>I am sure I am missing a lot of things. :)</p>