Documentation

This is machine translation

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

Visible

Value Summary

OptionalFALSE, or TRUE

Description

Visible = FALSE makes an object invisible.

All graphical objects react to the attribute Visible. With 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 attributes VisibleBefore, VisibleBeforeBegin, VisibleAfter, and VisibleAfterEnd serve for some form of animated visibility. See section Frame by Frame Animations in this document for further details and examples.

Examples

Example 1

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))

Was this topic helpful?