Histogram in App Designer
조회 수: 3 (최근 30일)
이전 댓글 표시
So I have this excel file and i want to make an histogram or scatter in app desginer for smoke and non smoker, can someone help me out ? I can't figure it out, because in the excel Smoker is just one column, and i want to make a histogram with 2 bars (different colours), one is for the smokers, and the other one is for non smokers.
댓글 수: 9
Rik
2020년 7월 3일
I don't think that is possible with histogram, so you will have to create two bar objects.
답변 (1개)
Harry Smith
2022년 6월 18일
This may help:
histogram(app.histogramPlot,data)
댓글 수: 1
Gligan Miron Marius
2023년 5월 18일
Yes, in my case it works correctly.
...
I_hist=histogram(app.Hist, I_rgb);
...
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!