Adding small slope indicating triangles to my Convergence Graph

Hi everybody
I have a simple question, but I could not figure it out how to do it simply. I have a convergence plot and I would like to show the slope of the line on a small triangle like the one in the photo below.
Any help would be appreciated, thanks :)

Réponses (1)

Just use *line* (after 'hold on') to add the lines then *text* to annotate

Catégories

En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by