How would I add labels to points?

18 ビュー (過去 30 日間)
Grant McNamara
Grant McNamara 2019 年 4 月 19 日
コメント済み: Star Strider 2025 年 10 月 24 日 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).

採用された回答

Star Strider
Star Strider 2019 年 4 月 19 日
Use the text (link) function. You will likely also need the sprintf function.
  2 件のコメント
Stephanie
Stephanie 2025 年 10 月 24 日 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 2025 年 10 月 24 日 16:53
My pleasure!
A Vote would be appreciated!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by