

    \filetitle{plotcmp}{Comparison graph for two time series}{tseries/plotcmp}

	\paragraph{Syntax}
 
 \begin{verbatim}
 [AA,LL,RR] = plotcmp(X,...)
 [AA,LL,RR] = plotcmp(RANGE,X,...)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \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 with two columns; the
   difference between the second and the first column will be displayed
   as an area or bar graph.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{AA} {[} numeric {]} - Handles to the LHS and RHS axes.
 \item
   \texttt{LL} {[} numeric {]} - Handles to the two original lines.
 \item
   \texttt{RR} {[} numeric {]} - Handles to the area or bar difference
   graph.
 \end{itemize}
 \paragraph{Options}
 
 \begin{itemize}
 \item
   \texttt{'diffColor='} {[} numeric \textbar{} \emph{{[}1,0.75,0.75{]}}
   {]} - Color that will be used to plot the area or bar difference
   graph.
 \item
   \texttt{'diffPlotFunc='} {[} @area \textbar{} \emph{@bar} {]} -
   Function that will be used to plot the difference data on the RHS.
 \end{itemize}
 See help on \url{tseries/plotyy} for other options available.
 
 \paragraph{Description}
 
 \paragraph{Example}


