how to create histogram
2 ビュー (過去 30 日間)
古いコメントを表示
you can take any value of density just i wanna know to how to creat histogram of density
Each plot has different customization options.
Try creating a histogram of density with the histogram function.
Set the "FaceColor" to yellow ("y").
0 件のコメント
採用された回答
DGM
2021 年 7 月 8 日
編集済み: DGM
2021 年 7 月 8 日
density = randn(100);
h = histogram(density);
h.FaceColor = 'y';
% if you want to set other properties, take a look
get(h)
% if you're not sure what values are appropriate for certain properties
set(h)
% properties can be read/set using get/set
get(h,'FaceColor')
set(h,'FaceColor','b')
% or by using dot notation as in the initial example
その他の回答 (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!
