- property RectilinearGrid.arrows: Optional[pyvista.core.pointset.PolyData]#
Return a glyph representation of the active vector data as arrows.
Arrows will be located at the points of the mesh and their size will be dependent on the norm of the vector. Their direction will be the “direction” of the vector
Active vectors represented as arrows.
Create a mesh, compute the normals and set them active, and plot the active vectors.
>>> import pyvista >>> mesh = pyvista.Cube() >>> mesh_w_normals = mesh.compute_normals() >>> mesh_w_normals.active_vectors_name = 'Normals' >>> arrows = mesh_w_normals.arrows >>> arrows.plot(show_scalar_bar=False)