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
 How to delete bad data in batches?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Younger2008

USA
Posts

Posted - 09/05/2005 :  07:15:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Sometimes I got many experimental data, some of which are appearently abnormal. And I want to delete them in batches not one by one via operating "Data-> remove bad dat points". How to get this?
Thanks.

easwar

USA
1964 Posts

Posted - 09/05/2005 :  09:29:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

This menu item uses the mark command.

From LabTalk script window you can issue command such as:
mark -d %c -b 2 -e 2
which would delete the second data point in the active data plot. You could then programmatically determine which point to delete, and use the index of that point in place of the "2" above. Note that when you remove the 2nd point, all other points move one up in the index (you can view the worksheet to see this).

Easwar
OriginLab


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