# How to plot and ellipse from eigenvalues and eigenvectors in R? [closed]

Could someone come up with R code to plot an ellipse from the eigenvalues and the eigenvectors of the following matrix

$\begin{equation*} \mathbf{A} = \left( \begin{array} {cc} 2.2 & 0.4\\ 0.4 & 2.8 \end{array} \right) \end{equation*}$

Thanks

-
I voted to close as off-topic and migrate to stats.SE -- I think a request for code in a specific programming language for a task whose mathematical aspects are well-known is outside the scope of this site. @MYaseen208: Please don't view this as an action against you; I think the question will be better placed on that site. –  joriki Apr 23 '11 at 9:22
@joriki: MYaseen208 asked it there first –  Henry Apr 23 '11 at 12:34
I see. In that case, it would have been appropriate to mention that this is a cross-post and to provide the link. There seem to be two answers there already, so people are wasting their time here thinking this is an unanswered question. –  joriki Apr 23 '11 at 12:58

## closed as off topic by joriki, Ross Millikan, t.b., Qiaochu YuanApr 23 '11 at 20:15

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

library(ellipse)