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
 Plotting error bars in 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
cheyenne Posted - 07/02/2005 : 06:29:51 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System: XP

Dear friends of the forum,

I have been spending the last 2 hours trying to plot with LabTalk
the X and Y error bars of a 4-column worksheet, type X Xerr Y Yerr, but I have been failing all the time.
Can please any of you help me getting the right piece of code for this?...I bet there is a trivial solution fot this, but I keep on failing.

Thanks again.
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 07/06/2005 : 4:04:04 PM
You can also use LabTalk to switch a plotted dataset to any kind of error bar you like:

// Start with a Data1 worksheet like A(X),B(Y),C(Y),D(Y),E(Y),F(Y)
wo -s 0 0 0 0; // Select entire worksheet
wo -p 201 scatter; // Plot as scatter
set data1_c -om data1_b; // Change C into a negative Y error
set data1_d -op data1_b; // Change D into a positive Y error
set data1_e -oxm data1_b; // Change E into a negative X error
set data1_f -oxp data1_b; // Change F into a positive X error


cheyenne Posted - 07/04/2005 : 09:53:15 AM
Thank you very much Mike, once again. It works.
Mike Buess Posted - 07/02/2005 : 11:26:28 AM
This assumes A(X), B(xEr), C(Y), D(yEr)...

%W=%H; // get wks name
win -t P; // open graph window
lay -i %W_C; // add y col
lay -i %W_B; // add x error bars
lay -i %W_D; // add y error bars

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 07/02/2005 11:28:02 AM

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