download_damavand_volcano#
- download_damavand_volcano(load: bool = True) ImageData | str[source]#
Download Damavand volcano model.
- Parameters:
- Returns:
- output
pyvista.ImageData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
Load the dataset.
>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_damavand_volcano()
Use resample() to down-sample it before plotting.
>>> dataset = dataset.resample(0.5)
>>> dataset.dimensions
(140, 116, 85)
Plot it.
>>> cpos = pv.CameraPosition(
... position=(46630.0, 4328000.0, -382500.0),
... focal_point=(552500.0, 3980000.0, -24740.0),
... viewup=(0.41, -0.29, -0.86),
... )
>>> dataset.plot(cpos=cpos, cmap='reds', show_scalar_bar=False, volume=True)
See Also#
- Damavand Volcano Dataset
See this dataset in the Dataset Gallery for more info.
Used In#
Gallery Examples