MATLAB Answers

0

Labelling peaks on a graph

Asked by Poornima Balachandran on 19 Feb 2019
Latest activity Commented on by Star Strider
on 20 Feb 2019 at 12:20
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?

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Star Strider
on 19 Feb 2019
 Accepted Answer

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

  2 Comments

Thanks!!
The text function was what i wanted.
Star Strider
on 20 Feb 2019 at 12:20
As always, my pleasure!

Sign in to comment.