Help CenterHelp Center
Display the mesh as a patch on the current axes
Since R2022a
show(mesh)
show(mesh,ax)
ax = show(mesh)
example
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
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 R2022a
applyTransform
join
rotate
scale
scaleToFit
translate
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office