Strange Extra data points coming in Histogram

1 vue (au cours des 30 derniers jours)
Karthik KJ
Karthik KJ le 10 Avr 2013
Hi,
I have plotted an Histogram, but it is giving some extra data points at 0 levels. Can you help me out, why it is coming out.
X= [-3031.6 -2872 -2712.5 -2552.9 -2393.3 -2233.8 -2074.2 -1914.7 -1755.1 -1595.6 -1436 -1276.5 -1116.9 -957.3 -797.8 -638.2 -478.7 -319.1 -159.6 0 178.1 356.2 534.3 712.4 890.5 1068.6 1246.7 1424.8 1602.9 1781 1959.1 2137.2 2315.3 2493.4 2671.5 2849.6 3027.7 3205.8 3383.8 ]
Y=ones(39,3)
Then if i use bar(X,Y,'histc'), i get some blue crossed data points at the x axis. WHy is it so, from where these datapoints are coming ?
Please help...

Réponse acceptée

Yao Li
Yao Li le 10 Avr 2013

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by