Help Center
Display the mesh as a patch on the current axes
Since R2020a
show(mesh)
show(mesh,ax)
ax = show(mesh)
show(mesh) displays the extendedObjectMesh as a patch on the current axes. If there are no active axes, the function creates new axes.
mesh
extendedObjectMesh
example
show(mesh,ax) displays the object mesh as a patch on the axes ax.
ax
ax = show(mesh) optionally outputs the handle to the axes where the mesh was plotted.
collapse all
Create an extendedObjectMesh object and translate the object.
Construct a cuboid mesh.
mesh = extendedObjectMesh('cuboid');
Translate the mesh by 5 units along the negative y axis.
mesh = translate(mesh,[0 -5 0]);
Visualize the mesh.
ax = show(mesh); ax.YLim = [-6 0];
Extended object mesh, specified as an extendedObjectMesh object.
axes
Current axes, specified as an axes object.
Introduced in R2020a
rotate
translate
scale
applyTransform
join
scaleToFit
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office