basic ploting histogram with a label
조회 수: 2 (최근 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!
