How to format a histogram with a density curve?
1 次查看(过去 30 天)
显示 更早的评论
So I'm trying to plot a histogram with a density curve using histfit and so far I have
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152423/image.png)
but I need to get it to look like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152425/image.png)
I looked through the properties of both the histogram and the line, but I can't seem to figure it out? The values of the histogram will vary each time it is created so I'm only asking about general formatting and not the content of the histogram.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!