Visibility of mesh points

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


PointsVisible = TRUE/FALSE enables/disables the plotting of mesh and submesh points.

The mesh points react to the attributes PointSize and PointStyle. However, they do not react to the attribute PointColor. Typically, mesh points are painted in the same color used for the line objects defined by the mesh points.

PointsVisible cannot be animated.


Example 1

We plot the sine function on a rather coarse mesh using the PointsVisible default value FALSE:

f := plot::Function2d(sin(x), x = -PI .. PI, Mesh = 20):

We use PointsVisible = TRUE to make the mesh points visible:

f::PointsVisible := TRUE:
plot(f, PointSize = 2*unit::mm)

We enable adaptive plotting:

f::AdaptiveMesh := 2:
plot(f, PointSize = 2*unit::mm)

delete f:

See Also

MuPAD Functions