pyvista.examples.downloads.download_mount_damavand#
- download_mount_damavand(load=True)[source]#
Download the Mount Damavand dataset.
Visualize 3D models of Damavand Volcano, Alborz, Iran. This is a 2D map with the altitude embedded as
'z'cell data within thepyvista.PolyData.Originally posted at banesullivan/damavand-volcano.
- Parameters:
- Returns:
pyvista.PolyData|strDataSet or filename depending on
load.
Examples
Download the Damavand dataset and plot it after warping it by its altitude.
>>> from pyvista import examples >>> dataset = examples.download_mount_damavand() >>> dataset = dataset.cell_data_to_point_data() >>> dataset = dataset.warp_by_scalar('z', factor=2) >>> dataset.plot(cmap='gist_earth', show_scalar_bar=False)
See also
- Mount Damavand Dataset
See this dataset in the Dataset Gallery for more info.