Strange histogram from point cloud

3 views (last 30 days)
Tina on 1 Dec 2019
Commented: Tina on 11 Dec 2019
Dear Matlab users,
I have a problem with created histogram from a point cloud.
When creating the histogram, it has strange peaks practically every second bin.
Do you have any advice about the possible reason and how to fix the code?
Thank you.
Image Analyst
Image Analyst on 1 Dec 2019
Looks like normal noise to me. You might turn edgelines of the histogram off, which seem to cause bunching to appear where there is none.

Sign in to comment.

Answers (1)

Luna on 2 Dec 2019
Basically, you can decrease Histogram's 'BinCounts' property or increase 'BinWidth' property.
You can define them with 'Name','Value' pair argument while plotting Histogram .
  1 Comment
Tina on 11 Dec 2019
Dear Luna,
Thank you for your reply and suggestion.
Will try that.
Kindly, Tina

Sign in to comment.


Find more on Data Distribution Plots 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!

Translated by