title: Gnuplot histogram with plot line
body: <p>I am using Gnuplot to create a histogram with a plot line, however, the plot line is not fit well with bar head, also I would like to put the line a little bit far from the bar head.</p>
  
  <p><a href="https://i.stack.imgur.com/y5HtR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y5HtR.png" alt="enter image description here"></a></p>
  
  <pre><code>set border 3 
  set boxwidth 0.9
  set tics nomirror out scale 0.75
  set style fill solid 0.8
  
  plot "03.txt" using 2:xtic(1) lt rgb "#0060ad" notitle, "" using 2 smooth csplines notitle with lines ls 1, "" using 3 lt rgb "#ff6600" notitle, "" using 3 smooth csplines notitle with lines ls 2, "" using 4 lt rgb "#dd181f" notitle, "" using 4 smooth csplines notitle with lines ls 3
  </code></pre>
  
  <p>Updated:</p>
  
  <p>This is the data file:</p>
  
  <pre><code>500000      25.938          25.938      2
  1000000     52.385          52.385      4
  1500000     79.749          78.405      6.125
  2000000     152.589         100.261     12.479
  2500000     224.869         118.364     19.159
  </code></pre>