The function plots x and y data with errorbars for both.
x=array of xdata
y=array of ydata
xerror=array of errors for x
yerror=array of errors for y
s=string argument for plotting the datapoints, The errorbars are plotted in red and blue
Needs a figure to plot in.
errorbars are symmetrical, that means that the function plots [x-xerror x+xerror] and [y-yerror y+yerror].
x,y,xerror,yerror must all be arrays.
Nils Sjöberg (2019). xyerrorbar (https://www.mathworks.com/matlabcentral/fileexchange/5444-xyerrorbar), MATLAB Central File Exchange. Retrieved .
Worked perfectly well at the first try, thank you!
Useful tool, thanks.
Nice work except for a minor bug.
Did exactly what I needed to do for today. Thanks for the function.
Great tool. very helpful. thanks for upload