'plot orientation of points in scatter

I have a scatter plot of points in [x,y]. I would like to plot also their orientation: each point represent a non spherical particle and I have its orientation in degree (-180,180) such that, for each data point, I have the following vector= [x,y,orientation].

Is there a way with matplotlib to plot in a 2D plot a small vector or, better, replace the pint with a small line with that orientation in space?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source