I have binned histogram data in this format:
BinCenter NumberOfOccurances
1 2
3 5
10 13
7 4
Notice the following:
- Bins are not regularly spaced.
- Bins are not sorted (though I could sort them).
I want gnuplot to plot a bar chart with this data.
I want vertical bars centered around BinCenter and the height of each bar should be the second-column value.
plot 'histo.txt' with boxes
does give me vertical bars, but the bars seem to be uneven in width.
set yrange [0:]to see the first box. - meuh