0

So right now I have a fit routine that fits a composite model to a data set. It would return a graph like this on matplotlib. Is there any way to annotate each peak with the prefix of its individual model from the composite model?

Thank you!

Fitted peaks that needs annotation on top

Linh Phan
  • 83
  • 1
  • 9

1 Answers1

0

You do not give enough information about your code to give you a full answer, but if you have the coordinates of your peaks and the text you want to place at each peak, juste use Axes.annotate(). See Annotating Axes guide for more information

Diziet Asahi
  • 38,379
  • 7
  • 60
  • 75