Add a function to draw a 3D vector in component subplots.