Tanh graph with ±
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kenneth Bisgaard Cristensen
le 30 Mar 2021
Commenté : Star Strider
le 30 Mar 2021
Hi MATLAB Community,
How do I add ± to a,b,c,d like ing the graph?
Any help would be appriciated.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/567629/image.png)
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;
0 commentaires
Réponse acceptée
Star Strider
le 30 Mar 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!