Help CenterHelp Center
Display the mesh as a patch on the current axes
Since R2020b
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 R2020b
rotate
translate
scale
applyTransform
join
scaleToFit
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi 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