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
 Insert a top X-axis using a variable equation

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
lijbereket Posted - 01/14/2025 : 01:04:52 AM
Origin Ver. and Service Release (Select Help-->About Origin): OringPro 2022 SR1
Operating System: Windows 10

Hello,

I am trying to create a plot with a top-X axis with a particular caveat I have been having difficult time to implement. Below is an example of a plot I created by adding a 'Top-X (Linked Y Scale and Dimension)' second layer, following the Method 3 of of the 'Graphing: Origin: Add a second axis' OriginLab YouTube video (I couldn't add a hyperlink to video as this site thinks I'm trying to spam it). The bottom X-axis represents the abundance of CO2 that is found in an H2O + CO2 mixture. The top X-axis is the concentration of CO2 in a mixture calculated as Concentration=η/η_Total × 100%, where η is the CO2 abundance and η_Total is the total abundance of H2O and CO2.

The issue I am having is that each data point has a unique η_Total value. Hence, if I relate the top axis with the bottom using the same η_Total value, then the concentration values I get will not be accurate. How can I relate these two axes by the above equation such that I am able to use a unique η_Total value?
1   L A T E S T    R E P L I E S    (Newest First)
ChaoC Posted - 01/14/2025 : 5:09:30 PM
Hello,

It's not possible to have a direct 1 to 1 relationship between η and η/η_total if η_total is variable as that would require 2D space so your 1D top axis does not work.

You could reduce your dimensions by normalizing your data to make one variable dimensionless.

Or choose a different type of graph with more dimensions.
You may consider 3D scatter, Color-mapped scatter, or Bubble plot.

Best,
Chao

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