Réponse acceptée

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 commentaires

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!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange

Produits

Version

R2021b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by