Histogram in App Designer
3 views (last 30 days)
Show older comments
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 Comments
Rik
on 3 Jul 2020
I don't think that is possible with histogram, so you will have to create two bar objects.
Answers (1)
Harry Smith
on 18 Jun 2022
This may help:
histogram(app.histogramPlot,data)
1 Comment
Gligan Miron Marius
on 18 May 2023
Yes, in my case it works correctly.
...
I_hist=histogram(app.Hist, I_rgb);
...
See Also
Categories
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!