Histogram of several parameters

5 次查看(过去 30 天)
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

采纳的回答

Raghav Gnanasambandam
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 CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by