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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 delete some rows

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
babia Posted - 06/08/2016 : 02:18:39 AM
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
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 06/08/2016 : 3:31:29 PM
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

babia Posted - 06/08/2016 : 07:53:03 AM
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
jasonzhao Posted - 06/08/2016 : 04:39:49 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000