Can anyone show me an eﬃcient way to get a 3-D plot of the tetrahedron formed by the following four points in 3-space:
(1,4,-1), (2,0,0), (-1,-4,3), (4,5,7) ?
I would like each surface to have a diﬀerent color.
Here’s a proc to draw any tetrahedron with any four colors.
... but it was lucky you wanted a tetrahedron, since all triples of vertices are the faces.
I wish there were some way to plug our own co-ordinates into plotpolyhedra().
You may use gtetrahedron() of the geom3d package: