Matrix subplot with number on top of bar
조회 수: 3 (최근 30일)
이전 댓글 표시
hi all,
i am trying to create a matrix bar plot with the values on top of each bar. i can get it to work for a row or column vector, but not for a matrix. how to do this??
thank you!
댓글 수: 0
답변 (1개)
Image Analyst
2012년 9월 9일
In the same way: use the text() function. Get the x and y of each bar, then construct your text with sprintf(), then place it atop your bar. Not hard - give it a try.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Data Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!