Statistics Toolbox
  Go to function:
    Search    Help Desk 
errorbar    Examples   See Also

Plot error bars along a curve.

Syntax

Description

errorbar(X,Y,L,U,symbol) plots X versus Y with error bars specified by L and U. X, Y, L, and U must be the same length. If X, Y, L, and U are matrices, then each column produces a separate line. The error bars are each drawn a distance of U(i) above and L(i) below the points in (X,Y). symbol is a string that controls the line type, plotting symbol, and color of the error bars.

errorbar(X,Y,L) plots X versus Y with symmetric error bars about Y.

errorbar(Y,L) plots Y with error bars [Y-L Y+L].

Example

See Also

errorbar is a function in MATLAB.



[ Previous | Help Desk | Next ]