Labelling peaks on a graph

23 vues (au cours des 30 derniers jours)
Poornima Balachandran
Poornima Balachandran le 19 Fév 2019
Commenté : Star Strider le 20 Fév 2019
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?

Réponse acceptée

Star Strider
Star Strider le 19 Fév 2019
Use the findpeaks (link) or islocalmax (link) function, and the text (link) function.
  2 commentaires
Poornima Balachandran
Poornima Balachandran le 20 Fév 2019
Thanks!!
The text function was what i wanted.
Star Strider
Star Strider le 20 Fév 2019
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by