I am trying to demonstrate that $v_1 + t(v_2 - v_1)$ is a parameterized line using vectors $p_k=v_1 + \frac{k}{8}(v_2 - v_1)$ for $k=0\ldots 8$ with tails at the origin, and then the vector $u=v_2-v_1$ with its tail at $v_1$.
Automatic scaling gives unsatisfactory results, and after setting xlim and ylim and scale, the placement the vectors, and in particular of $u=v_2-v_1$ with its tail at $v_1$, are off.
import numpy as np
import matplotlib.pyplot as plt
VV=[
[ 4, 12, 5, 6, 7, 8, 9, 10, 11, 8],
[12, -4, 10, 8, 6, 4, 2, 0, -2, -16]
]
OV=[
[0,0,0,0,0,0,0,0,0, 4],
[0,0,0,0,0,0,0,0,0,12]
]
plt.quiver(*OV, VV[0],VV[1],
color=['b','b']+['k' for j in range(len(VV[0])-3)]+['r'],
scale=34,
pivot='tail'
)
plt.xlim([-10, 24])
plt.ylim([-16, 18])
plt.show()
The expected result would be the blue vectors from $(0,0)$ to $(4,12)$ and from $(0,0)$ to $(12,-4)$, (so at right angles) with a fan of vectors (in black) from the origin to the segment between them, plus a red vector from $(4,12)$ to $(12,-4)$.
The upper blue vector appears to have its tip around $(4,16)$, and the red vector should go from the tip of one blue vector to the tip of the other.
