Hello,
I want to draw 3D plot. The coordinates should be inticated with a red point and additional I want to label them with a name.

I tried this:
plot3d(x, y, z,xlab="PC1", ylab="PC2", zlab="PC3",main="Country score resemblance (Stoxx600 rated by Vigeo)",text3d(x=x,y=y,z=z,texts=names, col=4))
plot3d(x, y, z, col=2, size=3, add=TRUE)

and some variations of this code but in the end you see only the names but no red point.

What did I get wrong?

It would be nice if somebody can help me.

Best regards and thanking you in anticipation

Claudia

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to