Linear Algebra, Mathematics, Data Analysis, Python, Computer Science.
'Eigenvector {}'.format(i+1)) # Plot original matrix as a line x = np.array([[-2, 2]]) y = x*A[0,1]/A[0,0] plt.plot(x[0], y[0], 'b-', label='Original Matrix') # Plot eigenvector-scaled matrix as a line for i in range(len(eigenvalues)): x = np.array([[-2*eigenvectors[0,i], 2*eigenvectors[0,i]]]) y =