Strange Extra data points coming in Histogram

1 次查看(过去 30 天)
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...

采纳的回答

Yao Li
Yao Li 2013-4-10

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by