Tanh graph with ±

2 次查看(过去 30 天)
Hi MATLAB Community,
How do I add ± to a,b,c,d like ing the graph?
Any help would be appriciated.
a = 95.80266;
b = -88.53938;
c = 30.84839;
d = -16.56475;
y = a+b*tanh((x+c)/d);
plot(y,tanh(x));
grid on;

采纳的回答

Star Strider
Star Strider 2021-3-30
That is an annotation textbox, specifically the result of Create Text Box Annotation with Multiline Text in MATLAB.
You can try usiing them, however I have always found them extremely difficult to work with, so I use text objects instead, since they are simply easier to work with.
  4 个评论
Kenneth Bisgaard Cristensen
Okay thanks, that was really helpful, I appriciate it.
Star Strider
Star Strider 2021-3-30
As always, my pleasure!

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by