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

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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de Oct. de 2022
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.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Etiquetas

Preguntada:

el 28 de Oct. de 2022

Respondida:

el 28 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by