Groups of 3D objects
This functionality does not run in MATLAB.
object3d1, object3d2, …, <
a = amin .. amax>,
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.
When working with groups of points, the more efficient approach
is to use the specialized grouping construct
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:
Graphical 3D objects