How to write _ in a plot title?
143 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mr M.
am 26 Mai 2015
Bearbeitet: Stephen23
am 26 Mai 2015
The problem is that _ means subscript!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Stephen23
am 26 Mai 2015
Bearbeitet: Stephen23
am 26 Mai 2015
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 Kommentare
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!