How to format a histogram with a density curve?
Show older comments
So I'm trying to plot a histogram with a density curve using histfit and so far I have

but I need to get it to look like

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.
Answers (0)
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!