T O P I C R E V I E W |
iahuogbdfjbh |
Posted - 07/12/2011 : 06:17:26 AM Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1G SR2 Operating System: MS Windows 7
With LabTalk it is easy to create a new plot based on an existing template: plotxy (1,2) plot:=200 ogl:=[<new template:=Test.otp name:=Test>];
And, with a very similar command, I can later plot another dataset to the same graph window. But doing this, a new layer is created for every dataset. What I would like to do is plotting an additional dataset to the same layer (as it is possible with the "add plot to layer" command). Can this also be done using LabTalk?
Thanks in advance, Johannes |
2 L A T E S T R E P L I E S (Newest First) |
iahuogbdfjbh |
Posted - 07/12/2011 : 10:39:50 AM OK, I didn't expect the answer to be that simple...
And yes, it works. Thank you very much! |
LabTalk user |
Posted - 07/12/2011 : 09:14:15 AM Hello,
Yes, Labtalk can handle that. Use the same X-function just with a little bit of different code at the end. It should look like this: plotxy (1,2) plot:=200 ogl:=1;
The ogl is the graph layer you are plotting into, so putting a 1 there makes it plot into the first layer.
Hope this helps! Patrick |
|
|