Akzeptierte Antwort

Try simething like this —
x = linspace(0,10);
y = 1./(x-5);
figure
plot(x, y, 'DisplayName','$C_{\phi}$')
xline(5,'-r', 'DisplayName','$C_{\theta} \rightarrow \infty$')
legend('Location','best', 'Interpreter','latex')
.

3 Kommentare

Maybe
xline(5,'-r', 'DisplayName','$C_{\theta} {( x } \rightarrow \infty{ )}$')
instead of
xline(5,'-r', 'DisplayName','$C_{\theta} \rightarrow \infty$')
Thank you
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by