I don't want to draw the lines between the errorbar

3 views (last 30 days)
hello everyone,
I am drawing a graph with the errorbar in the range of 2 sigma values. But I don't want to draw the lines between them. How can I do it?
errorbar(A_T,ce_mean,2*std)

Answers (1)

Dyuman Joshi
Dyuman Joshi on 18 Aug 2022
Edited: Dyuman Joshi on 19 Aug 2022
%random data
x = 1:10:100;
y = [20 30 45 40 60 65 80 75 95 90];
err = [4 3 5 3 5 3 6 4 3 3];
errorbar(x,y,err,'.', 'MarkerEdgeColor','red')

Community Treasure Hunt

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

Start Hunting!

Translated by