This function allows the user to plot the graph of x against y, along with both x and y errorbars.
For the x and y errors it is possible to input both lower (lx and ly) and upper (ux and uy) values for the errors at a particular point. If the upper values are not specified then the program assumes the errors are symmetrical and use the lower values. it is also possible to specify the plot line colour, marker, and linestyle using the standard 'plot' command notation in the input variable 'linecol'. Also the line colour for the errobars can be specified in the variable 'errorcol'. It is important to note that if these colour options are to be used and any of the error limit vectors are empty then they should not be excluded, but presented in a  form signifying an empty vector.
Strange that this is not a standard Matlab function.
Thanks a lot!
07 Mar 2008
Nice job! I couldn't believe that Matlab didn't have this function/program already in it's libraries.
02 May 2007
Performs as advertised!
08 Feb 2007
Did exactly what I wanted. Recommend Emile Zonta's help file add-on.
12 May 2006
works fine, thanks.
and thanks for the concise help add-on
24 Aug 2005
22 Aug 2005
Appears to work fine, though help is a bit pedantic. Try this help file:
% Plots x and y variables with x and y errorbars
% usage: errorbarxy(x,y,lx,ly,ux,uy,linecol,errorcol)
% lx,ly are lower error bounds, must be same size as x,y
% ux uy are upper bounds (optional, if omitted, errorbarsxy uses lx,ly on both sides)
% linecol: Propertes for data, same as for the plot function
% errorcol: Propertes for data, same as for the plot function
% to use properties:
% usage: errorbarxy(x,y,lx,ly,,,linecol,errorcol)