pyvista.Renderer.view_zx

pyvista.Renderer.view_zx#

Renderer.view_zx(negative=False, render=True, bounds=None) None[ソース]#

ZX平面を表示します.

パラメータ:
negativebool, default: False

反対側から見た図.

renderbool, default: True

レンダーウィンドウが表示されている場合は,カメラ位置を設定した後にレンダーをトリガーします.

boundsiterable(int), optional

Automatically set up the camera based on a specified bounding box (x_min, x_max, y_min, y_max, z_min, z_max).

組み込みメッシュ例のZX平面を表示します.

>>> from pyvista import examples
>>> import pyvista as pv
>>> airplane = examples.load_airplane()
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(airplane)
>>> pl.view_zx()
>>> pl.show()
../../../_images/pyvista-Renderer-view_zx-1_00_00.png