SyntaxFix
Write A Post
Hire A Developer
Questions
This may also be achieved using matplotlib.pyplot.quiver, as noted in the linked answer;
matplotlib.pyplot.quiver
plt.quiver([0, 0, 0], [0, 0, 0], [1, -2, 4], [1, 2, -7], angles='xy', scale_units='xy', scale=1) plt.xlim(-10, 10) plt.ylim(-10, 10) plt.show()