Skip to content
Prev 120647 / 398498 Next

plot3d labels

On 20/07/2007 5:23 AM, Birgit Lemcke wrote:
There's no need to extract the 3 columns:  you could just use

plot3d(PCoA, type="p", col=rainbow(1000),size=5)

with the data above.
I think all you need is

text3d(PCoA, text=Nam)

but you might want to set the adj argument if you want the labels offset 
from the points, and you might want type="n" in the original plot3d call 
if you don't want the points to interfere with the labels.

Duncan Murdoch