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
 Special Double y-Axis Plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Confused142

1 Posts

Posted - 01/21/2019 :  08:31:36 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

i would like to do the following: Plot one data set with two y-axis. Similar to lets say a temperature over time plot, with one scale for celsius and one for fahrenheit.

I know there is a way to link those with a custom formula, but here is the problem: this linking formula is different for every data point in my case, so i would like to just generate the y-axis from two independent data sets.

How can i do that? Help much appreciated!

YimingChen

1607 Posts

Posted - 01/21/2019 :  09:54:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

It looks you want the right y axis has the same tick positions but different tick labels as the left y axis. You can do the following:

1. Create a new column in the worksheet for tick labels of right y axis. Fill the column with your right y values using linking formula.
You can use Set Column Values or Cell Formula to do that.
https://www.originlab.com/doc/Tutorials/SetColVal#Using_Other_Columns
https://www.originlab.com/doc/Origin-Help/Using-Formulae-to-Set-Cell-Values#Cell_Formula_Examples

2. Turn on the right y axis in axis setting dialog. Go to Tick Labels tab of right y, under Display subtab, set Type to Text from dataset, set Dataset Name to the new column generated in step 1.

Note: You may need to go to Scale tab, and set Major Ticks type to By Custom Positions. Then use the y values of the points as tick positions.

James
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