Borrar filtros
Borrar filtros

Strange Extra data points coming in Histogram

3 visualizaciones (últimos 30 días)
Karthik KJ
Karthik KJ el 10 de Abr. de 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...

Respuesta aceptada

Yao Li
Yao Li el 10 de Abr. de 2013

Más respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by