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.


Visibility of mesh points

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


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

Was this topic helpful?