There are several ways to do that, but some of them depend on your Origin version. Since you didn't tell us that I'll suggest a method that should work in nearly any version. I must make two assumptions...
> Each file has the same number of rows (and columns, of course).
> By 'match up' you mean 'equal'.
If those assumptions are valid you can do this...
1. Create a new worksheet and select File->Import->Multiple ASCII.
2. In the file dialog choose Import each file as New Rows.
3. Select your data files and OK.
That will append all of your files as new rows to the same worksheet. The offsets can be introduced with the following LabTalk script...nFiles=fdlog.multiopen.count; // # of files
get col(1) -e totalRows; // total # of rows
blockRows=totalRows/nFiles; // # rows per file
temp=data(1,blockRows); // create temporary data set
for(i=1;i<nFiles;i++) {
j1=i*blockRows; // final row index of the ith block
j2=j1+1; // first row index of next block
loop(k,1,wks.ncols) {
copy -b j2 wcol(k) temp -b 1 -t blockRows; // copy block to temp
temp = temp - temp[1] + wcol(k)[j1]; // offset temp
copy -b 1 temp wcol(k) -b j2 -t blockRows; // copy temp back to worksheet
};
};
del temp; // delete temporary data set
Mike Buess
Origin WebRing Member