How to display values of z-axis in a stem chart

2 ビュー (過去 30 日間)
Sazcl
Sazcl 2022 年 10 月 28 日
回答済み: Walter Roberson 2022 年 10 月 28 日
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.

採用された回答

Walter Roberson
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 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by