Origin Ver. 6.1 and Service Release (Select Help-->About Origin): Operating System: Windows XP
Hi, This might be a straightforward problem to solve, but anyway I'm using an Ascii file from which we need to obtain all the data in a certain column or row. For example: from row index 2, I need to obtain all the values: 6.3E-6 0.90 -54.4 67 to m.
The Ascii file look like this: ---1---2---3----4---- m 1 0.3 -0.1 3.4 -3.4E-4 m 2 6.3E-6 -0.90 -54.4 67 m 3 1.23 7.2E-3 -6.3E-2 0.7 m m n n n n n n\m
I tried to use %Z, but the Origin 6.1 crashed when I used the below code:
%z=""; for(kk=1;kk<=wks.nrows;kk++) { k=col(1)[kk]; %z=%z $(k); }; Getnumber (Select the first row:) ii:z (Select the second row:) zz:z;
However, I try to do it by using %B, but I only obtain a portion of the data (the data that is in the first 39 columns or rows). Does someone have any suggestion about how to obtain all the data in a certain row or column?
I will appreciate any suggestion Thanks, Ana. |