pyvista.examples.examples.load_random_hills#

load_random_hills()[source]#

Create random hills toy example.

Uses the parametric random hill function to create hills oriented like topography and adds an elevation array.

This example dataset was created with:

>>> mesh = pv.ParametricRandomHills()  
>>> mesh = mesh.elevation()  
Returns:
pyvista.PolyData

Random hills mesh.

Examples

>>> from pyvista import examples
>>> mesh = examples.load_random_hills()
>>> mesh.plot()
../../../_images/pyvista-examples-examples-load_random_hills-1_00_00.png