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 for Programming
 LabTalk Forum
 define vector end points using labtalk

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
superklee Posted - 01/21/2005 : 05:33:16 AM
Origin Version (Select Help-->About Origin): 6.1
Operating System:Win 2000

Hi guys,

I'm using a Worksheet consisting of 3*k columns, whereas the first of the 3 is the x value, the second is the y value and the third is the label value for each k-run.
Now I want to make a xyxy vector-graph using labtalk:

layer.include({worksheet}_{y1-column}, 218);

Usually if you define the first xy-dataset Origin assumes the two asscending columns as the second xy dataset. Since i have a set of 3 columns each, this doesn't work for me. I also canīt just go without the label column because i need it in a scatter graph.
Manually i can assign the Vector End point, meaning the second xy dataset, in the Plot Details Dialog under the Vector tab.
Is there a way to assign the second xy dataset using labtalk?

thanks

Anita
1   L A T E S T    R E P L I E S    (Newest First)
polphys Posted - 01/25/2005 : 05:48:46 AM
Was your question to make an xyxy-plot with the columns 1,2,4,5 (and so on?),omitting the label colums 3 and 6?
If the columns 1 and 4 are of type X and 2 and 5 are of type y, you can make an xyxy-plot with:

wks.colSel(1,1);wks.colSel(2,1);wks.solSel(4,1);wks.colSel(5,1);// selecting the desired columns
work -p 218 templatename;//plotting the selected columns as xyxy-plot

Unfortunately, I am a beginner and don't know, whether there exists a more elegant way using layer.include().

Edited by - polphys on 01/25/2005 05:49:31 AM

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