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.
|Objects||Visible Default Values|
Visible = FALSE makes an object invisible.
All graphical objects react to the attribute
Visible = FALSE, an object is made invisible.
This attribute can be set in the property inspector of the interactive
viewer (see section Viewer,
Browser, and Inspector: Interactive Manipulation in this document)
to make a selected object disappear without needing to change and
re-execute the plot call.
Invisible objects do influence the viewing box of their coordinate systems.
Visible cannot be animated. However, the
for some form of animated visibility. See section Frame
by Frame Animations in this document for further details and
Consider the following scene:
plot(plot::Function2d(sin(x), x = -2..2), plot::Point2d([1, 2], PointSize = 5*unit::mm))
Obviously, the point influences the visible region of the coordinates. This region is not affected by making the point invisible:
plot(plot::Function2d(sin(x), x=-2..2), plot::Point2d([1, 2], PointSize = 5*unit::mm, Visible = FALSE))