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
 Origin Forum
 plot different negative and positive ErrBars
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

feldpausch

Germany
2 Posts

Posted - 07/28/2003 :  08:18:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
dear specialists,
how to plot y versus x with different values for y errorbars
eg. y(x)=12, positive-y-error=1, negative-y-error=2 ?
(I'm using Origin 6.0 and 6.1)

thanks for your info!
yours Philipp

Edited by - feldpausch on 07/28/2003 08:51:56 AM

easwar

USA
1965 Posts

Posted - 07/28/2003 :  09:22:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Philipp,

You can have more than one error bar column associated with a plot. So you can do the following:
1> Set up your data as
X Y YErr YErr
2> Place the positive error bar data in one of the YErr columns and the negative error bar data in the other YErr column
3> Create the plot and add both error bar columns to your plot. You can highlight all columns and click on a plot button, or you can move in the error bar datasets to an existing plot using the Layer Dialog.
4> Bring up Plot Details dialog, and navigate to the error datasets.
5> On the ErrorBar tab, under Direction, set one error dataset as Plus only, and the other as Minus only.

Easwar
OriginLab.



Edited by - Easwar on 07/28/2003 09:28:29 AM
Go to Top of Page

greg

USA
1379 Posts

Posted - 08/21/2003 :  1:11:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can make use of LabTalk to simplify this procedure.

First, define a macro:
def plotplusminus {
%M = %1;
%N = %2;
%O = %3;
win -t plot scatter;
layer -i %M %N %O;
set %N -op %M;
set %O -om %M;
layer -a;
};

Then you can call the macro and pass the name of the Y data, the name of the Plus error bar data and the name of the Minus error bar data.
For example:

plotplusminus data1_b data1_D data1_C;

Note that the three datasets must be from the same worksheet.

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