load_sphere_vectors#
- load_sphere_vectors() PolyData[source]#
Create example sphere with a swirly vector field defined on nodes.
- Returns:
pyvista.PolyDataMesh containing vectors.
Examples#
Download Python source code | Download Jupyter notebook
>>> from pyvista import examples
>>> mesh = examples.load_sphere_vectors()
>>> mesh.point_data
pyvista DataSetAttributes
Association : POINT
Active Scalars : vectors
Active Vectors : vectors
Active Texture : None
Active Normals : Normals
Contains arrays :
Normals float32 (842, 3) NORMALS
vectors float32 (842, 3) VECTORS
See also
- Sphere Vectors Dataset
See this dataset in the Dataset Gallery for more info.