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
 Plotting on right y-axis on same layer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

parcomilati

6 Posts

Posted - 07/04/2024 :  09:59:56 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello everyone,
from origin 2023 there is the possibility to plot on the right y-axis without adding a second layer. I searched through the labtalk guide but did not find a command to do it from script.

Can anyone please help??

Marco

snowli

USA
1379 Posts

Posted - 07/04/2024 :  12:58:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use set command with -ay option to set the plot's y axis.
See https://www.originlab.com/doc/en/LabTalk/ref/Options_for_DataPlots#-ay

After set so, you can use layer.y2.showaxes=2 to turn on right Y and set layer.y2.from and layer.y2.to, ....
https://www.originlab.com/doc/LabTalk/ref/Layer-Axis-obj

Thanks, Snow
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