Labelling peaks on a graph

29 visualizzazioni (ultimi 30 giorni)
Poornima Balachandran
Poornima Balachandran il 19 Feb 2019
Commentato: Star Strider il 20 Feb 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by