Help CenterHelp Center
Display the mesh as a patch on the current axes
Since R2020a
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 R2020a
rotate
translate
scale
applyTransform
join
scaleToFit
Sie haben eine geänderte Version dieses Beispiels. Möchten Sie dieses Beispiel mit Ihren Änderungen öffnen?
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
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