T O P I C R E V I E W |
Confused142 |
Posted - 01/21/2019 : 08:31:36 AM 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!
|
1 L A T E S T R E P L I E S (Newest First) |
YimingChen |
Posted - 01/21/2019 : 09:54:04 AM 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 |
|
|