How to create one errorbar for multiple data points?
Mostrar comentarios más antiguos
Hello,
i want to plot a x-vector (1,100) and a y-vector (1,100) with an errorbar. I have already calculated the single value for the standard deviation of the y-vector. This y-vector has been measured 100 times, so i just need one standard deviation for the 100 values of y.
I tried to do this with:
x = ones(1,100);
y = ...;
error = 4.17e-04;
errorbar(x,y,error,'.');
1 comentario
VBBV
el 3 de Feb. de 2021
error variable must be of same size as x and y see the doc page https://in.mathworks.com/help/matlab/ref/errorbar.html
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Errorbars en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!