view_zx#

Plotter.view_zx(negative=False)#

View the ZX plane.

Parameters
negativebool, optional

View from the opposite direction.

Examples

View the ZX 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_zx()
>>> pl.show()
../../../_images/pyvista-Plotter-view_zx-1_00_00.png