I have the following data set
x=[0.69 -1.31 0.39 0.09 1.29 0.49 0.19 -0.81 -0.31 -0.71]
y=[0.49 -1.21 0.99 0.29 1.09 0.79 -0.31 -0.81 -0.31 -1.01]
for this dataset, I computed the co-variance matrix as follows
co-variance=
0.6165 0.6154
0.6154 0.7165
Eigen values are
0.490
1.284
and the Eigen vectors are
-0.7351 -0.6778
-0.6778 -0.7351
When i try to plot the dataset as well as the Eigen vectors simultaneously, I get the plot as in (plot file). However, in the tutorial that I am following, the Eigen vectors are diagonal lines from one corner of the plot to another lines. The two Eigen vectors form two diagonal line perpendicular to one another forming a letter X. kindly verify this and let me know where I am deviating