errorbar
(Series)
Line plot with error bars
Syntax
[LL, EE, Range] = errorbar(X, W, ...)
[LL, EE, Range] = errorbar(Range, X, W, ...)
[LL, EE, Range] = errorbar(AA, Range, X, W, ...)
[LL, EE, Range] = errorbar(X, Lo, Hi, ...)
[LL, EE, Range] = errorbar(Range, X, Lo, Hi, ...)
[LL, EE, Range] = errorbar(AA, Range, X, Lo, Hi, ...)
Input arguments
AA
[ numeric ]
Handle to axes in which the graph will be plotted; if not specified, the current axes will used.
Range
[ numeric | char ]
Date range; if not specified the entire range of the input tseries object will be plotted.
X
[ tseries ]
Tseries object whose data will be plotted as a line graph.
W
[ tseries ]
Width of the bands that will be plotted around the lines.
Lo
[ tseries ]
Width of the band below the line.
Hi
[ tseries ]
Width of the band above the line.
Output arguments
LL
[ numeric ]
Handles to lines plotted.
EE
[ numeric ]
Handles to error bars plotted.
Range
[ numeric ]
Actually plotted date range.
Options
'relative='
[ true
| false
]
If
true
, the data for the lower and upper bounds are relative to the centre, i.e. the bounds will be added to the centre (in this case,Lo
must be negative numbers andHi
must be positive numbers). Iffalse
, the bounds are absolute data (in this caseLo
must be lower thanX
, andHi
must be higher thanX
).
See help on tseries/plot
.
Description
Examples