How can I plot mean +/- 1 standard deviation for every data point in my dataset ?

3 views (last 30 days)
I have a dataset of 15 data points. And I calculated mean(dataset) + 1*standard value(dataset) ,mean(dataset) - 1*standard value(dataset). I would like to plot these values as error bars for every data point in the data set. Please let me know how do it do it?
Thanks

Answers (1)

Joseph Cheng
Joseph Cheng on 24 Apr 2017
have you looked up the function errorbar()? it should get you what you'll need
  1 Comment
pranathi chunduru
pranathi chunduru on 24 Apr 2017
Hi I have looked up the errorbar() but I'm unable to understand how it works. The mean +/- 1SD value is higher than some of the data points. so the errorbar goes above the point where it should be

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!