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.

FooterAlignment, HeaderAlignment

Alignment of footer of canvas and scenes

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Value Summary

FooterAlignment, HeaderAlignmentInheritedCenter, Left, or Right

Graphics Primitives

ObjectsDefault Values
plot::Canvas, plot::Scene2d, plot::Scene3d

FooterAlignment, HeaderAlignment: Center


Using the attributes Footer and Header, a canvas or scene can be given a caption. FooterAlignment and HeaderAlignment control the horizontal alignment of these captions.


Example 1

Using the default placement, a footer is centered:

plot(plot::Point2d([1,1]), Footer="Point2d")

We may want to place the footer more to the right:

plot(plot::Point2d([1,1]), Footer="Point2d",
     FooterAlignment = Right)

Was this topic helpful?