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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Obtain all the data in a certain column or row
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Ana-Maria

USA
4 Posts

Posted - 02/13/2009 :  11:08:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000