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
 Standard Deviation Error Bars not Centered on Curv
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

FrankA

USA
6 Posts

Posted - 05/25/2023 :  1:36:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: OriginPro2018 b9.5.1.195

(Graph attached below)

I am plotting multiple curves with standard deviation error bars, and one set of the error bars is not centered on its curve (dark green), with some not even on the curve at all. The others are fine so I am not sure what happened.

The green curve is a Savitzky-Golay filter smoothed data set, does this have something to do with it? However, the pink curve just below is the same and does not have this issue.

Any information on what could be causing it?

YimingChen

1649 Posts

Posted - 05/25/2023 :  1:47:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Could you share the project file? Thank you.

James
Go to Top of Page

FrankA

USA
6 Posts

Posted - 05/25/2023 :  2:03:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I was actually able to figure out the problem. Because the standard deviation was calculated from values that are scattered around the plot area, it was placing error bars in positions of that data, which are not plotted.

To simply fix this, I set the column to the right of the smoothed data to be the error for that dataset, then set those values equal to the calculated standard deviation as desired. This put them in the right location on the plot.

But thank you for the response!

Edited by - FrankA on 05/25/2023 2:03:43 PM
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