plot a single Error bars

39 views (last 30 days)
Hi all,
I am trying to create one error bar but I am struggling a lot.
I tried to read the matlab documentation about error bars but the site is down for some reason.
Anyway, I have calculate the standard deviaiton (s=4.13) but I am confused witht the x,y axes
the x axis should be 1 value and the y axis has a range from 0 to 14
please let me know what you think
many thanks
Nikolas Spiliopoulos
Nikolas Spiliopoulos on 14 Sep 2019
Alright, thanks a lot I am gonna have a look at website too!!

Sign in to comment.

Accepted Answer

Prabhan Purwar
Prabhan Purwar on 16 Sep 2019
Bar chart can be created by making use of bar and errorbar functions as shown in the following code.
x=1; y=8.35;
hold on
ylim([0 14])
hold off
Please refer the following link for further information on errorbarfunction
Hope this helps
  1 Comment
dpb on 16 Sep 2019
Ah! Maybe THAT was what OP mean by "how to get a bar instead of *"...I couldn't figure that one out and there was no further input.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by