I need to have underline (_) in my plot x and y label but matlab plot recognizes as subscript
62 ビュー (過去 30 日間)
古いコメントを表示
Zeynab Mousavikhamene
2019 年 10 月 9 日
コメント済み: Zeynab Mousavikhamene
2019 年 10 月 9 日
When I used this command:
xlabel(Ratio_prolif),
p of prolif becomse as subscript in the plot.
Is there anyway to have underline without being translated to subscript?
Here they discussed how _ is denoted as subscript in matlab:
but I dont want it.
0 件のコメント
採用された回答
John D'Errico
2019 年 10 月 9 日
編集済み: John D'Errico
2019 年 10 月 9 日
They can't win. Some people want to have subscripts. Some want an actual underscore character. Nobody is ever happy.
xlabel 'x\_5'
That will show the label as x_5. NOT a subscript.
その他の回答 (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!