I need to have underline (_) in my plot x and y label but matlab plot recognizes as subscript
조회 수: 61 (최근 30일)
이전 댓글 표시
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!