title: adding error bar to histogram in gnuplot
body: <p>I have data file which looks like this </p>
  
  <pre><code>#col 1     2     3     4     5     6     7
  #bench                 #these are max and min values 
  #mark     #bar1 #bar2  #for the prevoius 2 values 
  NOSHARE.2 43032 139412 100 45000 130000 140000
  FALSE_SHARE.2 7035 24101 5000 7500 24100 25000
  SHAREDVAR.2 11316 10248 10000 12000 10000 12000
  </code></pre>
  
  <p>I am able to generate a graph using gnuplot which looks like this
  <img src="https://i.stack.imgur.com/ZqW96.png" alt="enter image description here"></p>
  
  <p>I need to add max and min value as an error bar to each bar  </p>
  
  <p>Heres my gnuplot script  </p>
  
  <pre><code>set output "truevsfalse.png"
  set title " TRUE VS FALSE SHARING "
  set boxwidth 0.9 absolute
  set style fill   solid 1.00 border lt -1
  set key inside right top vertical Right noreverse noenhanced autotitles nobox
  set style histogram clustered gap 5 title  offset character 0, 0, 0
  set datafile missing '-'
  set style data histograms
  set xtics border in scale 0,0 nomirror rotate by -45  offset character 0, 0, 0
  set xtics  norangelimit
  set ylabel "NUMBER      OF      SHARING"
  set xlabel "BENCHMARK"
  plot 'truevsfalse.dat'  using 2:xtic(1)  title "true(synced and nonsynced)sharing (both vcpus)" , '' u 3   title "false sharing (both vcpus)"
  </code></pre>
  
  <p>I tried this </p>
  
  <pre><code>plot 'truevsfalse.dat'  using($0- .05):2:4:5:xtic(1) with boxerrorbars  title "true(synced and nonsynced)sharing (both vcpus)" , '' using ($0+0.25):3:6:7 with boxerrorbars  title "false sharing (both vcpus)"
  </code></pre>
  
  <p>But failed , I either get just the error bars without histogram bars or if I try to modify a bit the image corrupts.<br>
  What am I doing wtong?  </p>
  
  <p>Thanks </p>