R: plot 3d data



I found this way:

xc:[0,1,2,3,4,5]$
yc:[2,3,0,1,6,7]$
zc:[1,0,3,2,5,4]$
draw3d(points(xc,yc,zc));

now the question is: how to add a label on each point that shows x,y,z coordinates without having to add labels manually like label(["0,2,1",0,2,2])
is there a shortcut?

thanks



--- Ven 21/12/12, Antonio Lapira <antoniolapira at yahoo.it> ha scritto:

> Da: Antonio Lapira <antoniolapira at yahoo.it>
> Oggetto: [Maxima] plot 3d data
> A: maxima at math.utexas.edu
> Data: Venerd? 21 dicembre 2012, 07:49
> hi
> I have a text file like this:
> 
> x??? y??? z
> 0??? 2??? 1
> 1??? 3??? 0
> 2??? 0??? 3
> 3??? 1??? 2
> 4??? 6??? 5
> 5??? 7??? 4
> 
> 
> I have read how to plot data in 2d (x y) but I haven't
> understood how to do plot data in 3d (x y z)
> 
> Which is the easiest way to plot them?
> 
> thanks
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>