pyvista.Plotter.view_xz#

Plotter.view_xz(negative=False, render=True)[source]#

View the XZ plane.

Parameters:
negativebool, default: False

View from the opposite direction.

renderbool, default: True

If the render window is being shown, trigger a render after setting the camera position.

Examples

View the XZ plane of a built-in mesh example.

>>> from pyvista import examples
>>> import pyvista as pv
>>> airplane = examples.load_airplane()
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(airplane)
>>> pl.view_xz()
>>> pl.show()
https://d33wubrfki0l68.cloudfront.net/ea1f6aee865b716fd55ffad2e3da682061dc5902/bb375/_images/pyvista-plotter-view_xz-1_00_00.png