How to show value tends to infinity in plot

 採用された回答

Star Strider
Star Strider 2022 年 9 月 1 日

0 投票

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 件のコメント

Torsten
Torsten 2022 年 9 月 1 日
Maybe
xline(5,'-r', 'DisplayName','$C_{\theta} {( x } \rightarrow \infty{ )}$')
instead of
xline(5,'-r', 'DisplayName','$C_{\theta} \rightarrow \infty$')
Chinmayraj Doddarajappa
Chinmayraj Doddarajappa 2022 年 9 月 1 日
Thank you
Star Strider
Star Strider 2022 年 9 月 1 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Performance についてさらに検索

製品

リリース

R2021b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by