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
 Partly fill ternary diagram with color

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
Gerold Kort Posted - 03/27/2012 : 08:01:04 AM
Hi everyone,

I am new to Origin and want to, partly, fill a ternary graph with color.

I have an example from a colleague but since he doesn't work here anymore, I can't ask how he did it. What I discovered is:

1. He created a ternary graph in the 'usual way'.
2. He then specified a 'Loose Dataset'. He used this dataset to partly fill the diagram with a color.

I browsed through the Labtalk manual but am unable to find a cohesive answer.

Can someone please help?

Thank you!

Regards,

Gerold Kort
Origin Version: Origin 8.5.0 SRO
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 03/29/2012 : 3:04:49 PM
Hi Gerold,

Thank you, we have received your sample, and I see that it seems that 
your graph was created by some sort of script as with a loose dataset, 
but I'm not exactly sure. 
Anyway, your graph is a ternary graph which contains two scatters as usual, 
and also a line plot with "Fill Area Under Curve" property. This is not terribly 
strange, and I don't think scripting is a must. You can use a template 
if you need to create repeatedly. 

Here is a step-by-step procedure: 

1) Highlight C(Z):HP column in Book1 for filling area, and 
   make a Ternary graph as usual.
   (Please notice that I have put Long Names and Unit in header rows 
   so that the legend and axis titles would be shown nicer by default.)

2) "Format: Plot Properties" menu to show Plot Details dialog, 
   and select "Line" for the Plot Type at the bottom left of the dialog.
   Press "Apply" button, and now, you see the border line for filling.
   (Instead you can simply press the "Line" plot button in the 2D Graphs toolbar.)

3) In the dialog, turn ON the "Fill Area Under Curve" check box, 
   select the Pattern tab, and select the Fill color. (Cyan in the sample)
   Click OK to close the dialog.

4) Double-click the layer icon"[1]" at top left corner of the graph, and 
   double-click it to show the "Layer Contents" dialog.
   Select [Negative]!HP(Z) in the left panel, and press "==>" button to 
   move it to the right panel (i.e., into the plot). Then, select 
   the moved item at right press the dropdown button to select "Scatter" 
   (changed from "Line").
   Do the same for [Positive]!HP(Z). Press "Close" button to finish.

5) Choose "Graph: New Legend" menu, and customize the symbol color, size, 
   etc. as you wish. 



Once you created a graph, you can save it as a template ("File: Save Template As" menu.) 
To make another graph using this template, you can use the template library 
to open it, and you can add the Z datasets in the same order to the above, 
i.e. the border dataset, Negative HP, then Positive HP. If you like, 
a simple a-few-line script can open the template and put the data to make a new graph.

--Hideo Fujii
Originlab
Gerold Kort Posted - 03/29/2012 : 07:57:45 AM
Hi Easwar,

Thank you for the offer!

I uploaded the file through your website. I hope it was received in good order?

Regard,

Gerold
easwar Posted - 03/28/2012 : 12:46:32 PM
Hi Gerold,

Please send the file you have from your colleague, to Tech Support, so we can take a look. Use the "Send File to Tech support" link on the top right of this page, and refer to this post in your message.

Easwar
OriginLab

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