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
 multiple column value changing

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
Fanning Posted - 06/27/2003 : 03:32:44 AM
Hi,

My data has hundreds of columns, and I need to subtract the value of the first row from all rows in every single column, in another word, to zero the starting point. I know I can do it one by one by using "set column value", but it is just too painful!

Could anyone help me to write a script for this, since I haven't got a clue. By the way, I am using origin 6.1.

Thanks a lot in advance.

Fanning
3   L A T E S T    R E P L I E S    (Newest First)
Fanning Posted - 06/27/2003 : 08:38:48 AM
Hi, Mike

Thanks ever so much. It works. Such a script might be easy for you, but it's just a mission impossible for me. Many thanks to Majo too.

Cheers

Fanning
Mike Buess Posted - 06/27/2003 : 08:19:26 AM
Hi Fanning,

It'd be much easier to use this simple LabTalk script...

loop (ii,1,wks.ncols) {
%(%H,ii)-=%(%H,ii,1);
};

Just copy/paste it to the script window, highlight and press enter.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 06/27/2003 08:21:12 AM
makub Posted - 06/27/2003 : 07:18:54 AM
Hi Finning,
have you tried to do it in Excel (by simple macro) and then to copy data into Origin?

Majo

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