title: gnuplot not showing the rowstacked histogram properly
body: <p>Following is my script.</p>
  
  <pre><code>set style data histogram
  set style histogram rowstack gap 1
  set style fill solid border -1
  set boxwidth 0.8
  set grid ytics linestyle 1
  set key autotitle columnheader
  set key below horizontal right
  set ylabel "Overhead (%)"
  set xlabel "Benchmark"
  
  plot newhistogram "bm1" lt 2, 'plot1.txt' u 2:xtic(1), '' u 3, '' u 4, \
  newhistogram "bm2" lt 2, 'plot1.txt' u 5:xtic(1) notitle, '' u 6 notitle, '' u 7 notitle, \
  newhistogram "bm3" lt 2, 'plot1.txt' u 8:xtic(1) notitle, '' u 9 notitle, '' u 10 notitle, \
  newhistogram "bm4" lt 2, 'plot1.txt' u 11:xtic(1) notitle, '' u 12 notitle, '' u 13 notitle
  </code></pre>
  
  <p>And following is my data.</p>
  
  <pre><code>Threads "Overhead 1" "Overhead 2" "Overhead 3"
  w1   6  47 58    8 0 0   15 4 45    12   5  5           
  w2   4  6  6     5 0 2   1 3 2      10  20  30  
  </code></pre>
  
  <p>The graph that I get is shown below. Note the problem with the right bar of the 4th benchmark (<code>bm4</code>, <code>w2</code>). Why the bar has an offset? I don't understand this.</p>
  
  <p><img src="https://i.stack.imgur.com/DNbEb.png" alt="enter image description here"></p>