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 for Programming
Forum for Python
How to add plots to left or right axis in Double-Y
Note:
You must be registered in order to post a reply.
To register,
click here
. Registration is FREE!
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
[quote][i]Originally posted by iniwoni[/i] [br]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(...) [img]https://my.originlab.com/ftp/forum_and_kbase/Images/Double-Y%20capture.PNG[/img] [/quote]
Check here to include your profile signature.
Check here to subscribe to this topic.
T O P I C R E V I E W
iniwoni
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(...)
2 L A T E S T R E P L I E S (Newest First)
iniwoni
Posted - 06/09/2025 : 2:54:52 PM
Thank you, Chao
ChaoC
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
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000