Re: [R] Labelling individual points on 3D PCA scatterplot

2012-10-21 Thread Wang Ran
Hello,I am a Chinese student, and I got the same problem. I have learnd R for several weeks, I want to draw a PCA picture. I have data in excel format like this: ID d1 d2 d3 d4 A 1234 B 1234 C 1234 D 1234 E 1234 How to load these dat

Re: [R] Labelling individual points on 3D PCA scatterplot

2009-10-29 Thread trz
Thank you Duncan! That is very helpful, after posting this i did figure out how to convert the 2d coordinates into 3d. I was initially hesitant about using rgl because i thought it looked messy. With the modifications you suggested for the plot, it actually looks very clear now in rgl! And it rota

Re: [R] Labelling individual points on 3D PCA scatterplot

2009-10-28 Thread Duncan Murdoch
On 10/28/2009 11:21 AM, trz wrote: Hi There, I'm attempting to plot 10 values on a three-dimensional PCA with text labels next to each point. While i have no trouble doing this on 2D plots using the 'text' or 'textxy' function, I cannot find a function to do this on a 3D plot. I am using princom

[R] Labelling individual points on 3D PCA scatterplot

2009-10-28 Thread trz
Hi There, I'm attempting to plot 10 values on a three-dimensional PCA with text labels next to each point. While i have no trouble doing this on 2D plots using the 'text' or 'textxy' function, I cannot find a function to do this on a 3D plot. I am using princomp for my PCA: >PCA<-princomp(eucdat