The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Plotting a quadruple plot

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
David_G Posted - 01/03/2018 : 11:40:14 AM
Hello!

In OriginPro, it's possible to draw ternary plots for ternary systems. However I need to draw a 3D plot (tetrahedron) for a quadruple system. Is this somehow possible in OriginPro? If not, do you have any idea how such diagrams may be plotted? I added an example.



I appreciate every answer, thank you.

Best regards
David
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 01/08/2018 : 4:52:58 PM
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
David_G Posted - 01/08/2018 : 04:54:12 AM
Hi Chris,

thank you very much for your answer and the information. It would be great if these graphs would be implemented in future versions.

Best regards
David
Chris D Posted - 01/03/2018 : 12:58:40 PM
Hi David,

Unfortunately at this time such graphs cannot be made using Origin. However, we have had requests for this type of graph in the recent past and are researching how we can implement them in future versions.

As for other softwares that could produce such graphs, I'd have to Google around and probably wouldn't find any more products than you'd find by similar Googling.

Sorry we can't help you.



Thanks,
Chris Drozdowski
Originlab Technical Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000