| Author |
Topic  |
|
|
cheyenne
Italy
Posts |
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. |
|
|
Mike Buess
USA
3037 Posts |
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 |
 |
|
|
cheyenne
Italy
Posts |
Posted - 07/04/2005 : 09:53:15 AM
|
| Thank you very much Mike, once again. It works. |
 |
|
|
greg
USA
1380 Posts |
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
|
 |
|
| |
Topic  |
|
|
|