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
この例の変更されたバージョンがあります。編集された方の例を開きますか?
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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