pyvista.Plotter.view_yz

pyvista.Plotter.view_yz#

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

YZ平面を表示します.

パラメータ:
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).

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

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