Main Content

showFaces

Show face numbers of box

Since R2023b

    Description

    example

    showFaces(shape) shows the face number on box faces.

    Examples

    collapse all

    Create a Box and visualize the face numbers.

    sh = shape.Box;
    showFaces(sh);

    Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains 8 objects of type patch, text.

    Input Arguments

    collapse all

    Box to show face numbers, specified as a shape.Box object.

    Example: shape.Box

    Version History

    Introduced in R2023b

    See Also

    Objects