Author |
Topic  |
|
feldpausch
Germany
2 Posts |
Posted - 07/28/2003 : 08:18:29 AM
|
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
|
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 |
 |
|
greg
USA
1379 Posts |
Posted - 08/21/2003 : 1:11:46 PM
|
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.
|
 |
|
|
Topic  |
|
|
|