I have a plot which contains many peaks(as peaks in a spectrum). I want to label some of these peaks as 'xyz', 'amc' etc. What should i do?

 採用された回答

Star Strider
Star Strider 2019 年 2 月 19 日

3 投票

Use the findpeaks (link) or islocalmax (link) function, and the text (link) function.

2 件のコメント

Poornima Balachandran
Poornima Balachandran 2019 年 2 月 20 日
Thanks!!
The text function was what i wanted.
Star Strider
Star Strider 2019 年 2 月 20 日
As always, my pleasure!

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by