How can I show only the outer outline of all the histogram bars as in this picture:

68 views (last 30 days)
I am trying to replicate an old histogram style where the edges between bars are not shown. Can I do this in Matlab?

Accepted Answer

Star Strider
Star Strider on 10 Feb 2018
If you are using the histogram (link) function, set 'DisplayStyle','stairs'. (It is listed in the name-value pair agruments. You will have to look for it since there is no direct link to it in the documentation. See 'DisplayStyle' (link) in Histogram Properties.)

More Answers (1)

Chris
Chris on 10 Feb 2018
It works! Thank you very much!

Community Treasure Hunt

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

Start Hunting!