Computational Physics, Linear Algebra, Math, Mathematics, Science.
v = np.array([[1], [-3]]) # do the multiplication and the plotting Av = A.dot(v) plotVectors([Av.flatten(), v.flatten()], cols=[blue, orange]) plt.ylim(-7, 1) plt.xlim(-1, 3) They are also on top of each other and are pointing in the same direction. This example shows that the eigenvectors are