images

images is a technical typesetting language, created by Donald Knuth, which is widely used for formatting mathematical expressions. images is a set of macros created by Leslie Lamport, which expand the power of images and made it easier to use. By default, several MATLAB text-related commands, including xlabel, ylabel, title, and text, automatically interpret a subset of images commands. For example, basic subscripts can be created using the underscore symbol “_”, and superscripts by the caret symbol “^”. Curly brackets group symbols together. For example, the following text codes in the title or xlabel string will be displayed as shown:

images

The Interpreter property of a text object can be set to ‘tex’ (the default), ‘latex’, or ‘none’. To use the more advanced images formatting, set the value of Interpreter to ‘latex’ and ...

Get Learning to Program with MATLAB: Building GUI Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.