Groups of 3D objects

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.


plot::Group3d(object3d1, object3d2, …, <a = amin .. amax>, options)


plot::Group3d forms a group of any number of graphical 3D objects.

Grouping together a larger number of graphical objects and accessing the group as a whole simplifies their handling. In particular, the main purpose of a group is to inherit graphical attributes that are shared by all members of the group.

To change the inherited attributes interactively, do not select the group itself in the interactive object browser of the MuPAD® graphics tool (see Viewer, Browser, and Inspector: Interactive Manipulation). Underneath the group object, find 'defaults' branches for the objects in the group. Select the 'defaults' branch for the object type that you want to set attributes for.

A group can contain groups.

    Note:   When working with groups of points, the more efficient approach is to use the specialized grouping construct plot::PointList3d instead of generic groups of points.


AttributePurposeDefault Value
Namethe name of a plot object (for browser and legend) 


Example 1

Plot two groups of bubbles. Some bubbles are not visible as they are inside larger bubbles:

G1 := plot::Group3d(plot::Sphere(1/n, [0, 0, n/2 + 1/n]
                                ) $ n = 1..10):
G2 := plot::Group3d(plot::Sphere(1/(3*n), [0, 0, n/2 + 1/n]
                                ) $ n = 2..10):
plot(G1, G2)

Increase transparency of all bubbles in the first group, but keep the bubbles in the second group opaque. Because the bubbles are grouped, it is easy to set different attribute values for the two groups:

G1::Color := RGB::SkyBlue.[0.25]:
G2::Color := RGB::Red:
plot(G1, G2)

delete G1, G2:


object3d1, object3d2, …

Graphical 3D objects

See Also

MuPAD Functions

MuPAD Graphical Primitives

More About

Was this topic helpful?