Hi David,
You can draw a tetrahedron by Origin with a relatively easy script. Then, you can add a 3D scatter/trajectory
plot if your can convert the quadruple coordinates to the Cartesian 3D coordinates according to the shape of
tetrahedron.
Here is a sample script to make a regular tetrahedron from the given XYZ worksheet which contains the
4 sets of coordinates of the vertices.
////////////////// Data Preparation ////////////////////////
%K=%H;
worksheet -a 4;
wks.col5.type=4; wks.col7.type=6;
col(4)={1,3,2,1,2,4,1,0,2,3,4,2,3,1,4,3}; //Triangle Patch data
range -v ri = 1[1]:3[3]; range -v ro = 5[1]:7[3]; ro=ri; // Edge Lines data
range -v ri = 1[1]:3[1]; range -v ro = 5[4]:7[4]; ro=ri; // Edge Lines data
range -v ri = 1[4]:3[4]; range -v ro = 5[5]:7[5]; ro=ri; // Edge Lines data
range -v ri = 1[2]:3[4]; range -v ro = 5[6]:7[8 ]; ro=ri; // Edge Lines data
////////////////// Surface Plot ///////////////////////////////
range rS=[%K]!col(3);
plotxyz iz:=rS plot:=103 ogl:=<new template:=glMESH.otp>; //Plot Color Fill Surface
%M=%H;
set %K_C -spi 2;
set %K_C -b3cc 5; //Set the color of the face
////////////////// Edge Plot //////////////////////////////////
range rE=[%K]!col(7);
plotxyz iz:=rE plot:=240 ogl:=<%M template:=gl3DLINE>; //Plot edge line
set %K_G -l 1; //To show the connection lines
set %K_G -w 1000; //Line width
set %K_G -c 1; //Line symbol color
set %K_G -z 0; //Line symbol size
set %K_G -lo 0; //Hide drop line
layer -a;
//////////////////////////////////////////////////////////////////
(Note: Currently the transparency cannot be controlled by script.)
Hope this helps.
--Hideo Fujii
OriginLab