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
 Special Double y-Axis Plot

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
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

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