Add data on matlab graphs

1 visualizzazione (ultimi 30 giorni)
Dilmeet Babbar
Dilmeet Babbar il 13 Apr 2021
Commentato: Star Strider il 14 Apr 2021
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

Risposta accettata

Star Strider
Star Strider il 13 Apr 2021
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 Commenti
Dilmeet Babbar
Dilmeet Babbar il 14 Apr 2021
Thankyou, much appreciated
Star Strider
Star Strider il 14 Apr 2021
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by