MATLAB Answers


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

Asked by pranathi chunduru on 24 Apr 2017
Latest activity Commented on by pranathi chunduru on 24 Apr 2017
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?


Sign in to comment.

1 Answer

Answer by Joseph Cheng
on 24 Apr 2017

have you looked up the function errorbar()? it should get you what you'll need

  1 Comment

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.