How can i draw histogram ?

1 次查看(过去 30 天)
furkan akhan
furkan akhan 2021-4-25
回答: Adam Danz 2021-4-25
I've got 1x720 files. For these data, I chose 3 as my threshold value. I'd like to make a histogram. If the values in this histogram are smaller than 3, I want to write wheeze, and if they are greater than 3, I want to write non wheeze. I'd like it to resemble the example histogram below. Can you help me?
  1 个评论
Scott MacKenzie
Scott MacKenzie 2021-4-25
One of your classmates asked this question earlier today. Keeping looking and you'll find the answer.

请先登录,再进行评论。

回答(1 个)

Adam Danz
Adam Danz 2021-4-25
This isn't a histogram. It's a bar plot.
Hint: follow this example from the documentation to create a grouped bar plot. Set the color and displayName properties. Then add a legend.

类别

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