How to write _ in a plot title?
조회 수: 150 (최근 30일)
이전 댓글 표시
The problem is that _ means subscript!
댓글 수: 0
채택된 답변
추가 답변 (1개)
Stephen23
2015년 5월 26일
편집: Stephen23
2015년 5월 26일
Actually there are two main ways of dealing with this. Each of them can be useful, depending on the circumstances:
- Use the string '\_' instead of '_'.
- Change the text property Interpreter to none:
The first one is easy to do if you are writing the strings by hand, The second one can be useful if the strings are generated automatically or are read from some data source.
댓글 수: 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!