Displaying 1 result from an estimated 1 matches for "eucdata".
Did you mean:
encdata
2009 Oct 28
2
Labelling individual points on 3D PCA scatterplot
...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(eucdata, cor=TRUE)
>PCA$scores [,1:3] # the three principal components i want to plot
Then i am using 'scatterplot3d' to plot my first 3 principal components:
>scatterplot3d(PCA$scores [,1:3],xlab="Component 1 (26.9%)",main="My 3D
PCA",ylab="Component 2
+ (1...