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
 Double y plotting and x-y axes intersection
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Subhayan_S

USA
3 Posts

Posted - 08/24/2023 :  4:43:04 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2022 (64-bit) SR1 9.9.0.225 (Academic)
Operating System: Windows 11

Greetings,
I am trying to plot 2 graphs in a log-log plot with one y axis oriented to the top (~0 at bottom and bigger numbers towards top) and the other y axis oriented to the bottom (~0 at top and bigger numbers towards the top) while the 2 y axes meet at ~zero. But I am not able to make the 2 axes meet at 0 i.e., they are not intersecting the x-axis (lower one) at the same value. Any suggestions?
More background: I have conductivity (x-axis) vs seebeck coeff (y-axis) data that needs to be plotted in a log-log plot. Some of the seebeck data points are negative so I separated the positive and negative data pairs and took the absolute value of the negative data points and plotted both data sets in a double y graph (see the excel file attached). But is there a way to make the 2 y axes intersect the x-axis (bottom one) at the same value?

https://my.originlab.com/ftp/forum_and_kbase/Images/example_ss.xlsx

YimingChen

1592 Posts

Posted - 08/25/2023 :  08:35:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The logarithm of 0 is undefined, so it's not possible to represent 0 on a log scale.
Go to Top of Page

Subhayan_S

USA
3 Posts

Posted - 08/25/2023 :  09:21:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

The logarithm of 0 is undefined, so it's not possible to represent 0 on a log scale.



Yes of course, that is why I said ~0 (near to zero). Realistically it can be, say, 0.01
So is it possible to make the 2 y axes intersect the x axis (bottom one) at 0.01?
It does not necessarily have to be a continuous double y graph even. Is there other ways to plot it?

Edited by - Subhayan_S on 08/25/2023 09:45:52 AM
Go to Top of Page

Subhayan_S

USA
3 Posts

Posted - 08/25/2023 :  10:53:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Subhayan_S

quote:
Originally posted by YimingChen

The logarithm of 0 is undefined, so it's not possible to represent 0 on a log scale.



Yes of course, that is why I said ~0 (near to zero). Realistically it can be, say, 0.01
So is it possible to make the 2 y axes intersect the x axis (bottom one) at 0.01?
It does not necessarily have to be a continuous double y graph even. Is there other ways to plot it?



Update: Solved it. If anybody else is having this issue, the trick is not to use the double y plot but simply use 'symmetrical log scale' option in standard x-y plot. It will plot your negative values in log scale
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