Adding small slope indicating triangles to my Convergence Graph
Show older comments
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 :)

Answers (1)
dpb
on 28 Apr 2014
Just use *line* (after 'hold on') to add the lines then *text* to annotate
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!