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
 how can i fill a table in a graph (Labtalk)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kencedric

Germany
13 Posts

Posted - 02/06/2012 :  09:45:37 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everybody,
i ve a little problem. I dont know how i can fill a table (in an existing Graph)with a Programm code in Labtalk.
Is there possible or i have to do it manual...?
thx a lot for helping...
Kendy from Germany

Penn

China
644 Posts

Posted - 02/06/2012 :  9:42:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Kendy,

To fill a table in a graph, it is the same with the way to fill a normal worksheet. For example:

add_table_to_graph tabname:=tblName;  // add a table to active graph, table name stored in tblName variable
range col1 = [tblName$]1!col(1);  // range of the first column in the table
// fill values to this column
col1[1] = 1;
col1[2] = 2;
col1[3] = 3;
doc -u;  // refresh the window


Penn
Go to Top of Page

kencedric

Germany
13 Posts

Posted - 02/07/2012 :  08:18:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thx for ur Help...
hope i dont border... for a few week i am using it... i ve a last question:
How can i copy a column of my Book and paste it in my new table?

thx a lot...
kendy
Go to Top of Page

Penn

China
644 Posts

Posted - 02/07/2012 :  9:46:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Kendy,

Please try the colcopy X-Function.

Penn
Go to Top of Page
  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