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

1 Ansicht (letzte 30 Tage)
studentmatlaber
studentmatlaber am 18 Aug. 2022
Kommentiert: Dyuman Joshi am 19 Aug. 2022
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)
  2 Kommentare
studentmatlaber
studentmatlaber am 18 Aug. 2022
thank you very much. Is it possible to put a red dot in addition to this?
Dyuman Joshi
Dyuman Joshi am 19 Aug. 2022
Check my answer

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Dyuman Joshi
Dyuman Joshi am 18 Aug. 2022
Bearbeitet: Dyuman Joshi am 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')

Kategorien

Mehr zu Errorbars finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by