Histogram Only Plotting 1 Point
Show older comments

Hello,
I have a 1x100 table.
If I print 'error', it does the math, by taking the field 'constant' from each row of the table and subtracts by 94, and then prints all 100 results.
This is working correctly, but the plotting is not.
When I go to create the histogram of the 100 results, it only prints 1. Any idea why?
Thank you!
Accepted Answer
More Answers (1)
Binbin Qi
on 18 Aug 2020
I think you can use bar, not histogram
bar(error)
Categories
Find more on Histograms 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!