Histogram Only Plotting 1 Point
古いコメントを表示

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!
採用された回答
その他の回答 (1 件)
Binbin Qi
2020 年 8 月 18 日
I think you can use bar, not histogram
bar(error)
カテゴリ
ヘルプ センター および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!