load_explicit_structured

load_explicit_structured(dims=(5, 6, 7), spacing=(20, 10, 1))

Load a simple explicit structured grid.

Parameters
dimstuple(int), optional

Grid dimensions. Default is (5, 6, 7).

spacingtuple(int), optional

Grid spacing. Default is (20, 10, 1).

Returns
pyvista.ExplicitStructuredGrid

An explicit structured grid.

Examples

>>> from pyvista import examples
>>> grid = examples.load_explicit_structured()
>>> grid.plot(show_edges=True)
../../../_images/pyvista-examples-examples-load_explicit_structured-1_00_00.png