Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Filled

Filled or transparent areas and surfaces

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.

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)

Was this topic helpful?