basic ploting histogram with a label
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
dpb
2014 年 4 月 17 日
1) set(gca,'xtick',[1.1 1.9 2.9],'xticklabel',{'A1','D1','G3'})
NB: x values based on observed midpoints in figure
2) Define an x vector as well as counts for the plot to place where wanted, and/or modify x-axis limits
2 件のコメント
dpb
2014 年 4 月 18 日
You're welcome...thought just came to me you may also want to experiment with the optional 'width' property--it modifies the bar spacing/width, too.
その他の回答 (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!
