How would I add labels to points?

13 vues (au cours des 30 derniers jours)
Grant McNamara
Grant McNamara le 19 Avr 2019
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).

Réponse acceptée

Star Strider
Star Strider le 19 Avr 2019
Use the text (link) function. You will likely also need the sprintf function.

Plus de réponses (0)

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by