This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Fonts, legends, titles, text alignment

MuPAD Graphical Primitives

plot::Text2d 2D text
plot::Text3d 3D text

MuPAD Graphical Attributes

Text Text of a text object
TextOrientation Orientation of a 3D text
TextRotation Rotation of a 2D text
Legend Makes a legend entry
LegendEntry Add this object to the legend?
LegendText Short explanatory text for legend
ShowInfo Information about integral approximation
Footer, Header Footer text
FooterAlignment, HeaderAlignment Alignment of footer of canvas and scenes
HorizontalAlignment, TitleAlignment, VerticalAlignment Horizontal alignment of text objects w.r.t. their coordinates
LegendAlignment, LegendPlacement, LegendVisible Legend at left, center, or right
Title, Titles Object title
TitlePosition, TitlePositionX, TitlePositionY, TitlePositionZ Position 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.

Was this topic helpful?