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
 X+Y error bars when plotting 2 lines in one graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Arnoud

Netherlands
2 Posts

Posted - 10/06/2016 :  09:50:18 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi all,

I have boiled my problem down to the following simple steps:

1. Open a new Origin worksheet
2. Column - Add New Columns - 4 new columns
3. Right-click B, set as X Error
4. Right-click D and F, set as Y Error
5. Add some simple dummy data to all columns
6. Plot - Line+Symbol - Line+Symbol
7. The X error bars now only appear on the first of the two lines. What is the most efficient way to get them on both lines? Surely there is a better way than making two new columns and copying all my X and Xerr values in there?

I am using OriginPro 2016 SR2 b9.3.2.203 Academic 64-bits on Windows 7 Enterprise 64-bits SP1.

Thank you for any suggestions!

Hideo Fujii

USA
1582 Posts

Posted - 10/07/2016 :  5:56:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Arnoud,

The best tool for the complicated (I mean that you cannot rely on the column designations straightforwardly)
assignment of the dataset from various column location in a worksheet like your case is the Plot Setup dialog.

Here, you can try after making a plot without X error bars for the second Y plot (say column E from a
worksheet with A(X), B(XEr) C(Y), D(YEr), E(Y), F(YEr))at the 7th step in your procedure:

1) Right-click on the layer icon at the top left corner of the graph, and select "Plot Setup" flyout (or choose
"Graph: Setup" menu) to open Plot Setup dialog.

2) In the bottom panel of Plot Setup, pay attention only principal plot datasets (in your case, which have
Plot Type="Line+Symbol"), disregarding any error plots. So, choose the dataset of "A(X) E(Y)" to add the X error bars.

3) You notice that in the middle panel, xEr check box is not checked, so check xEr at column B;
this is what you wanted. Press "Replace" button on the middle panel.
Click OK, and you get the result.

Plot Setup dialog is one of the most complicated dialog, but once you get familiar with it, you would
realize its flexibility and the power: http://www.originlab.com/doc/Tutorials/Plotting-using-Plot-Setup

Hope this helps.

--Hideo Fujii
OriginLab
Go to Top of Page

Arnoud

Netherlands
2 Posts

Posted - 10/08/2016 :  07:45:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you, this solved my problem. To anyone reading this: you may have to expand the Plot Setup window, by default it hides the top and middle panel. There is an expand button at the top right.
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