Adding small slope indicating triangles to my Convergence Graph

20 次查看(过去 30 天)
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 :)

回答(1 个)

dpb
dpb 2014-4-28
Just use *line* (after 'hold on') to add the lines then *text* to annotate

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by