Add data on matlab graphs

1 次查看(过去 30 天)
Hi there, i just wanted to ask that how can i add info on the graphs plotted. For example in this graph, 1/sigma has been added.
thanks

采纳的回答

Star Strider
Star Strider 2021-4-13
Use a text object, or put it in the appropriate axis label:
t = 0:0.1:15*pi;
x = exp(-0.05*t).*cos(t);
y = exp(-0.05*t).*sin(t);
figure
plot(x, y)
axis equal
xlabel('1/\sigma')
text(0, 0, '1/\sigma')
.
  2 个评论
Dilmeet Babbar
Dilmeet Babbar 2021-4-14
Thankyou, much appreciated
Star Strider
Star Strider 2021-4-14
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by