title: How to sum an entire column in gnuplot?
body: <p>I have a multiple CSV files like this (just one column):</p>
  
  <pre><code>3
  4
  2.3
  0.1
  </code></pre>
  
  <p>Now I want to create a gnuplot bar chart that has <code>&lt;filename&gt;:&lt;sum of the column&gt;</code>.</p>
  
  <p>But currently I struggle with summing up a single column:</p>
  
  <pre><code>plot 'data1.txt' using 0:(sum [col = 0:MAXCOL] (col)) with linespoint;
  </code></pre>