How can i draw histogram ?
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596525/image.png)
댓글 수: 1
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
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.
댓글 수: 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!