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?

 Akzeptierte Antwort

Star Strider
Star Strider am 19 Feb. 2019

3 Stimmen

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

2 Kommentare

Poornima Balachandran
Poornima Balachandran am 20 Feb. 2019
Thanks!!
The text function was what i wanted.
Star Strider
Star Strider am 20 Feb. 2019
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by