Arrow(start=(0.0, 0.0, 0.0), direction=(1.0, 0.0, 0.0), tip_length=0.25, tip_radius=0.1, tip_resolution=20, shaft_radius=0.05, shaft_resolution=20, scale=None)

Create an arrow.

startiterable, optional

Start location in [x, y, z].

directioniterable, optional

Direction the arrow points to in [x, y, z].

tip_lengthfloat, optional

Length of the tip.

tip_radiusfloat, optional

Radius of the tip.

tip_resolutionint, optional

Number of faces around the tip.

shaft_radiusfloat, optional

Radius of the shaft.

shaft_resolutionint, optional

Number of faces around the shaft.

scalefloat or str, optional

Scale factor of the entire object, default is None (i.e. scale of 1). 'auto' scales to length of direction array.


Arrow mesh.


Plot a default arrow.

>>> import pyvista
>>> mesh = pyvista.Arrow()
>>> mesh.plot(show_edges=True)