Re: [R] Drawing a line with misc3d

2010-04-28 Thread cgenolin
Thanks. I did write a function cuboid, then 3dLine for joining two points, then 3dLines for more points. I do create an asy file with your function saveTrianglesAsASY, then I include the scene.pre in the LaTeX file. So far, everything works fine. My last problem is that I did not manage to get

Re: [R] Drawing a line with misc3d

2010-04-20 Thread luke
misc3d only knows about triangular mesh scenes. For our JSS paper we added pointsTetrahedra that represents data points as small terahedra. You could do something analogous by creating a triangular mesh representation of a long thin bar for your lines. luke On Mon, 19 Apr 2010, Christophe Genoli

[R] Drawing a line with misc3d

2010-04-19 Thread Christophe Genolini
Hi the list, I would like to draw some lines with misc3d. I find a lot of tools to draw surfaces, but nothing for simple line... Is it possible? Note that I know that it is possible to draw lines with rgl (using lines3d), but I need to do it with misc3d to export the drawing in .asy format. A