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?

 Accepted Answer

Star Strider
Star Strider on 19 Feb 2019
Use the findpeaks (link) or islocalmax (link) function, and the text (link) function.

2 Comments

Thanks!!
The text function was what i wanted.
As always, my pleasure!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!