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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Insert a top X-axis using a variable equation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

lijbereket

13 Posts

Posted - 01/14/2025 :  01:04:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?

Edited by - lijbereket on 01/14/2025 01:26:04 AM

ChaoC

USA
179 Posts

Posted - 01/14/2025 :  5:09:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000