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
 How to draw error bars to a best fit curve
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bksree

4 Posts

Posted - 07/02/2015 :  03:56:10 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 6.1 and V6.1052(B232)
Operating System: Windows

I have a number of experimental points and have plotted a best fit polynomial to these points. How can I show the error bars to this best fit curve ?

TIA

Echo_Chu

China
Posts

Posted - 07/02/2015 :  04:22:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, TIA

Could you give more explanation for the error bar of the best fit curve?

Do you mean confidence band of the fitted curve?

Or do you mean you want to add residual values as error bar to the fitted curve?

Echo
OriginLab Corp

Go to Top of Page

bksree

4 Posts

Posted - 07/02/2015 :  11:17:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Echo_chu
Thank you for responding. My problem is as follows :
I have a number of experimental points, x- axis : time; y-axis : wt loss from erosion.
I have drawn a best fit curve through this. I now want to draw the error bars

TIA
Go to Top of Page

Echo_Chu

China
Posts

Posted - 07/02/2015 :  10:55:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Do you already have data for the error bars?

Anyway, please look at the page below for adding error bar to your graph, with or without data

http://www.originlab.com/doc/Origin-Help/Add-ErrBar-to-Graph

Go to Top of Page

bksree

4 Posts

Posted - 07/06/2015 :  07:08:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Echo Chu
Thank you.

I have now plotted the measured points and error bars. But now how do I add the error bars to a second curve on the same plot ?

Fr eg.
The plot contains colns X1, Y1 - measured values
X1, Y2 - best fit curves
And error bar to column Y1 (say, Z1)

Now I have added columns X2, Y2b (second set of measurements) and X2, Y22 (best fit to this second set)
I want to add error bar to column Y2b.

Will someone please explain how this is done

Thank you in advance
Go to Top of Page

snowli

USA
1381 Posts

Posted - 07/06/2015 :  11:00:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You have very old version 6.1 so it's hard for us to see the GUI now in Origin since most of our PCs are newer Windows OS and 6.1 isn't compatible on it.

But I suppose you have a worksheet with all data in it.
E.g.
X1 Y1 Y2 Z1 X2 Y2b Y22 Z2 -- suppose these are names of your data (Z2 will be error bar of Y2b)
Make sure Z1 is immediately after Y1 column. Make sure Z2 is immediately after Y2b.
you right click X1 column header and choose Set as: X.
Right click X2 column header and choose Set as: X
Right click Z1 and choose Set as: Y Error.
Right click Z2 and choose Set as Y Error.


Then in graph, you can right click Layer 1 icon and choose Layer Contents...
In the dialog, you can move new data into graph. E.g. select Z2 on the left and click -> to move it to the right. It should be added as error bar of Y2b data.

Thanks, Snow
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