How to show value tends to infinity in plot

 Risposta accettata

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 Commenti

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graphics Performance in Centro assistenza e File Exchange

Prodotti

Release

R2021b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by