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 for Programming
Forum for Python
How to add plots to left or right axis in Double-Y
New Topic
Reply to Topic
Printer Friendly
Author
Topic
iniwoni
5 Posts
Posted - 06/02/2025 : 06:38:40 AM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2025 10.2.0.188
Operating System: Win10
Hi!
There a layer which has Double Y at left and right axis in the same layer. How can I add plots to left or right axis? Maybe..
layer.lt_exec(...)
or
layer.set_int(...)
or
layer.set_str(...)
or
layer.set_float(...)
ChaoC
USA
190 Posts
Posted - 06/06/2025 : 10:28:08 AM
Hello,
You can use set_cmd() to set a plot on right Y.
Example.
import originpro as op
g1=op.find_graph('Graph1')[0]
p=g1.plot_list()[1]
p.set_cmd("-ay 2")
#this will set the 2nd plot in Graph 1 to the right Y.
See:
https://docs.originlab.com/originpro/classoriginpro_1_1graph_1_1Plot.html#aae1d79780d938019ae6bb3f7377ebf2f
https://www.originlab.com/doc/Labtalk/Ref/Set-cmd#Option_for_Data_Plots
Best,
Chao
iniwoni
5 Posts
Posted - 06/09/2025 : 2:54:52 PM
Thank you, Chao
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000