[Matplotlib-users] histogram for discrete data

2011-02-15 Thread Bala subramanian
Friends, I created a histogram plot using data files that have discrete values (sample file attached 'test.dat').However when i view the plot, i see that the bars are not located exactly over the values. For example in the attached figure (test.png), i see a bar (gray) placed between values 1 and

Re: [Matplotlib-users] histogram for discrete data

2011-02-15 Thread Paul Ivanov
Bala subramanian, on 2011-02-15 16:06, wrote: Friends, I created a histogram plot using data files that have discrete values (sample file attached 'test.dat').However when i view the plot, i see that the bars are not located exactly over the values. For example in the attached figure