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
 Combining data files

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
tp1978 Posted - 02/21/2007 : 2:38:19 PM
Origin Version 6.1
Operating System: Windows 2000

Hi,

I have 10 files, each with 10 rows and 2 columns. I need to combine all the columns in a cumulitive manner (using script). The files have generaic names: P1.txt, P2.txt, ....., P10.txt
The x-axis in the files are 0-0.1, 0.1-0.2, 0.2-0.3, ...... 0.9-1.0

So now I'm manually opening each file, copying the 10 rows and 2 columns, and adding it cumulatively to a worksheet, so that my x-axis ranges from 0.0-1.0 (spanning all the data).

I'm not sure how to use a script to generate the final worksheet right away (cumulatively added data from the 10 files, x-axis ranging from 0.1-1.0). I can open the script window (using Alt+3) but how does one write a script and run it ?
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 02/21/2007 : 11:32:49 PM
There's no need for a script. Use Import > Multiple ASCII and select Import each file as: New Rows above the import list.

Mike Buess
Origin WebRing Member

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