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
 Origin Forum
 Removing every second column

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
alaudo Posted - 07/30/2005 : 08:08:39 AM
Origin Version (Select Help-->About Origin): 6.5
Operating System: Win XP

I have datasets where every second column (starting from 3: 3,5,7,9) contains rubbish data.
Is there a quick way to remove these columns from dataset?

3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 08/01/2005 : 1:55:41 PM
Hi Mickey,

One-time use...
1. Show the script window (Window > Script Window).
2. Select the code in my previous post and copy (Ctrl+C).
3. Place cursor in script window and paste (Ctrl+V).
4. Select code in script window and press Enter.

If you need to use it many times you can run the script from the Custom Routine button. See the final post in this topic...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=4043

Mike Buess
Origin WebRing Member
chmickey Posted - 08/01/2005 : 1:23:44 PM
how to use this codes

thanks
mickey
Mike Buess Posted - 07/30/2005 : 09:07:23 AM
for(i=2;i>1;i++) {
if( i>=wks.ncols ) break;
del wcol(i+1);
};

Mike Buess
Origin WebRing Member

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