Labelling peaks on a graph

103 visualizaciones (últimos 30 días)
Poornima Balachandran
Poornima Balachandran el 19 de Feb. de 2019
Comentada: Star Strider el 20 de Feb. de 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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by