Fonts, legends, titles, text alignment


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Graphical Primitives

MuPAD Graphical Attributes

TextText of a text object
TextOrientationOrientation of a 3D text
TextRotationRotation of a 2D text
LegendMakes a legend entry
LegendEntryAdd this object to the legend?
LegendTextShort explanatory text for legend
ShowInfoInformation about integral approximation
Footer, HeaderFooter text
FooterAlignment, HeaderAlignmentAlignment of footer of canvas and scenes
HorizontalAlignment, TitleAlignment, VerticalAlignmentHorizontal alignment of text objects w.r.t. their coordinates
LegendAlignment, LegendPlacement, LegendVisibleLegend at left, center, or right
Title, TitlesObject title
TitlePosition, TitlePositionX, TitlePositionY, TitlePositionZPosition of object titles

Examples and How To


The plot attributes allow to specify the fonts AxesTitleFont, FooterFont, HeaderFont, LegendFont, TextFont, TicksLabelFont, and TitleFont.


The annotations of a MuPAD plot may include a legend.



The plot library provides for more than 400 attributes for fine-tuning of the graphical output.