Histogram in App Designer
5 次查看(过去 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!