Filled

Filled or transparent areas and surfaces

MuPAD® notebooks will be removed in a future release. 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.

Value Summary

InheritedFALSE, or TRUE

Description

Filled controls whether areas and surfaces are filled or transparent.

With Filled = FALSE, areas and surfaces are not filled. This means that, e.g., a surface plot is reduced to a wire frame model.

Examples

Example 1

The following parametrization of a sphere uses a mesh similar to the graticule (longitudes and latitudes) of geography:

globe := plot::Surface([sin(u)*cos(v), cos(u)*cos(v), sin(v)],
                       u = 0..2*PI, v = 0..2*PI,
                       Mesh = [12, 12], Submesh = [3, 3]):
plot(globe, Scaling = Constrained)

To get a wire frame model, we set Filled = FALSE:

plot(globe, Filled = FALSE, LineColor = RGB::Black,
     Scaling = Constrained)