histogram - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.


mega1mega1 Posts: 1Member
I am trying to plot a histogram.the first one is a actual data. when i try to vary number of bins, 0.5(y=0.0),1.5(y=0.0),2.5(y=0.0)(x positions) gets invalid data.how can i find those invalid data bins.

1)bin width :1 min -0 max-10 number of bins :10 -valid data
x y bin
0.000000 0.000000 - 0
1.000000 1.000000-1
2.000000 2.000000-2
3.000000 3.000000-3

2)bin width :0.5 min -0;max ;10 number of bins : 20

x y bin
0.000000 0.000000 -0
0.500000 0.000000 -1
1.000000 1.000000-2
1.500000 0.000000 -3
2.000000 2.000000-4
2.500000 0.000000 -5
3.000000 3.000000 -6


Sign In or Register to comment.