Graphics    

Including Symbols and Greek Letters in Text Strings

Text objects support a subset of TeX characters that enable you to use symbols in the title and axis labels. See the text String property for a list of available TeX characters.

For example,

The backslash character "\" precedes all TeX character sequences. Looking at the string defining the title illustrates how to use these characters.

The text Interpreter property controls the interpretation of TeX characters. If you set this property to none, MATLAB interprets the special characters literally.


 Example - Aligning Text Using Variables in Text Strings