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
 delete some 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

babia

India
11 Posts

Posted - 06/08/2016 :  02:18:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I want to delete some rows. for example:
i want to delete 2,3,4 and 5th rows and then 7,8,9,10 and then 12.... and so on . How can i do this.

Please help as i am not able to do it manually,.

Thanks in advance

Rajesh Agarwal

jasonzhao

China
262 Posts

Posted - 06/08/2016 :  04:39:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Please refer to the example below for Row delete;

http://www.originlab.com/doc/LabTalk/guide/Basic-Worksheet-Column-Operation#Insert_or_Delete_Rows_in_Columns

Best regards!
Jason
OriginLab Technical Service
Go to Top of Page

babia

India
11 Posts

Posted - 06/08/2016 :  07:53:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the quick response.But this does not solve my problem, because i need to delete 5i-4 rows where i=1. can you write a small script for this.

Again thanks.

Regards,
Rajesh Agarwal
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 06/08/2016 :  3:31:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rajesh Agarwal,

Can you try the wreducerows x-function like:
wreducerows nrows:=4 start:=2 orng:=<new>!<new>;
http://www.originlab.com/doc/X-Function/ref/wreducerows

Hope this works as you wanted.

--Hideo Fujii
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