How to show value tends to infinity in plot

5 ビュー (過去 30 日間)
Chinmayraj Doddarajappa
Chinmayraj Doddarajappa 2022 年 9 月 1 日
コメント済み: Star Strider 2022 年 9 月 1 日
Hello Experts,
Can anyone tell me how to write (x --> inf) 'x tends to infinity in the legend of a graph?
Thank you

採用された回答

Star Strider
Star Strider 2022 年 9 月 1 日
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 件のコメント
Chinmayraj Doddarajappa
Chinmayraj Doddarajappa 2022 年 9 月 1 日
Thank you
Star Strider
Star Strider 2022 年 9 月 1 日
As always, my pleasure!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by