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 for Programming
 LabTalk Forum
 Baseline according Y values on specified rows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

lenikk

Finland
5 Posts

Posted - 11/15/2022 :  07:43:12 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 2016 and Service Release2
Operating System: Win11

I want to write a script that uses Y-values in the data at specified x-values (or rows) as anchor points to create a baseline. E.g. I'd want the anchor points to always be at 1 sec, 5 sec, 10 sec (when X-axis is time). How could do this in Labtalk?

YimingChen

1683 Posts

Posted - 11/15/2022 :  10:58:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use the table() function to get the y values of the anchor points. See the figure below.


James

Edited by - YimingChen on 11/15/2022 10:58:26 AM
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