How can I plot histogram ?

3 次查看(过去 30 天)
Rita
Rita 2017-11-20
编辑: Rita 2017-11-20
I wanted to plot distribution of my data. I have tried excel and I am not sure which function in matlab exactly draw a plot like in excel? I have tried ksdensity and hist functions but the plots are not like the plot drawn in excel.I know that the size of bins in two programs is different Any suggestion would much be appreciated.

回答(1 个)

Nicolas Schmit
Nicolas Schmit 2017-11-20
  1 个评论
Rita
Rita 2017-11-20
编辑:Rita 2017-11-20
Thanks Nicolas, I know this function but I don't know how to draw a pick of bars to draw a curve over the histogram without showing bars . like the distribution plot.I know that histfit works for normal distribution but my data are not normal.

请先登录,再进行评论。

类别

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