How to show value tends to infinity in plot
5 ビュー (過去 30 日間)
古いコメントを表示
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
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!