Histogram of several parameters
5 ビュー (過去 30 日間)
古いコメントを表示
ZAFIMANDIMBY Mampiandra Ny Hanitra
2021 年 1 月 12 日
コメント済み: ZAFIMANDIMBY Mampiandra Ny Hanitra
2021 年 1 月 12 日
Good morning all.
Can anybody helps me by giving a code for comparison histogram of several parameters in Matlab.
Attached is a result picture as example
Thank you very much
2 件のコメント
Raghav Gnanasambandam
2021 年 1 月 12 日
I guess you are asking about bar graph. Have a look at this - https://www.mathworks.com/help/matlab/ref/bar.html
採用された回答
Raghav Gnanasambandam
2021 年 1 月 12 日
Say for example you have the data (count) as
Parameter A - 130, Parameter B - 50, Parameter C - 40, Parameter D - 20, Parameter E - 10
x = categorical({'Parameter A','Parameter B','Parameter C','Parameter D','Parameter E'});
y = [130,50,40,20,10];
bar(x,y)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!