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 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!