How would I add labels to points?

18 visualizaciones (últimos 30 días)
Grant McNamara
Grant McNamara el 19 de Abr. de 2019
Comentada: Star Strider el 24 de Oct. de 2025 a las 16:53
How would I use max(), num2str(), and text() to label the maximum point on a graph? I am supposed to use them to add on each plot a line that says max height: (max height of the plot).

Respuesta aceptada

Star Strider
Star Strider el 19 de Abr. de 2019
Use the text (link) function. You will likely also need the sprintf function.
  2 comentarios
Stephanie
Stephanie el 24 de Oct. de 2025 a las 16:50
Thank you G, literally help me for my homework. All the question I have had have been answer by you.
Star Strider
Star Strider el 24 de Oct. de 2025 a las 16:53
My pleasure!
A Vote would be appreciated!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Axis Labels en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by