

    \filetitle{errorbar}{Line plot with error bars}{tseries/errorbar}

	\paragraph{Syntax}
 
 \begin{verbatim}
 [LL,EE,RANGE] = errorbar(X,B,...)
 [LL,EE,RANGE] = errorbar(RANGE,X,B,...)
 [LL,EE,RANGE] = errorbar(AA,RANGE,X,B,...)
 [LL,EE,RANGE] = errorbar(X,LO,HI,...)
 [LL,EE,RANGE] = errorbar(RANGE,X,LO,HI,...)
 [LL,EE,RANGE] = errorbar(AA,RANGE,X,LO,HI,...)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{AA} {[} numeric {]} - Handle to axes in which the graph will
   be plotted; if not specified, the current axes will used.
 \item
   \texttt{RANGE} {[} numeric {]} - Date range; if not specified the
   entire range of the input tseries object will be plotted.
 \item
   \texttt{X} {[} tseries {]} - Tseries object whose data will be plotted
   as a line graph.
 \item
   \texttt{B} {[} tseries {]} - Width of the bands that will be plotted
   around the lines.
 \item
   \texttt{LO} {[} tseries {]} - Width of the band below the line.
 \item
   \texttt{HI} {[} tseries {]} - Width of the band above the line.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{LL} {[} numeric {]} - Handles to lines plotted.
 \item
   \texttt{EE} {[} numeric {]} - Handles to error bars plotted.
 \item
   \texttt{RANGE} {[} numeric {]} - Actually plotted date range.
 \end{itemize}
 \paragraph{Options}
 
 \begin{itemize}
 \item
   \texttt{'dateformat='} {[} char \textbar{}
   \emph{irisget(`plotdateformat')} {]} - Date format for the tick marks
   on the x-axis.
 \item
   \texttt{'datetick='} {[} numeric \textbar{} \emph{\texttt{Inf}} {]} -
   Vector of dates locating tick marks on the x-axis; Inf means they will
   be created automatically.
 \item
   \texttt{'relative='} {[} \emph{\texttt{true}} \textbar{}
   \texttt{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, \texttt{LOW} must be negative numbers and
   \texttt{HIGH} must be positive numbers). If false, the bounds are
   absolute data (in this case \texttt{LOW} must be lower than
   \texttt{X}, and \texttt{HIGH} must be higher than \texttt{X}).
 \end{itemize}
 See help on built-in \texttt{plot} function for other options available.


