How to display values of z-axis in a stem chart
조회 수: 2 (최근 30일)
이전 댓글 표시

Hi, I have a 3D stem chart as shown in the figure. I want P(x,y) values to appear above the points in the graph. How can I do that? Thanks in advance.
댓글 수: 0
채택된 답변
Walter Roberson
2022년 10월 28일
text() accepts vectors of x y z and either string array or cell array of string. I suggest using compose() with a double-quoted format specification to build a string array.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!