histogram - Programmers Heaven

Howdy, Stranger!

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

Categories

histogram

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

Comments

Sign In or Register to comment.