I plot arrows:
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()
But it gives me axes with a different aspect ratio:
I added plt.axis('equal')
after the first line and I got:
But it violated xlim
and ylim
conditions.
How to make proper scaling with correct limits?