\HeaderA{plotRidgeList}{Plot the ridge list}{plotRidgeList}
\keyword{hplot}{plotRidgeList}
\begin{Description}\relax
Plot the ridge list returned by \code{\LinkA{getRidge}{getRidge}}
\end{Description}
\begin{Usage}
\begin{verbatim}
plotRidgeList(ridgeList, wCoefs = NULL, range = NULL, colorMap = "RYB", main = NULL, pch = ".", cex = 3, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{ridgeList}] returned by \code{\LinkA{getRidge}{getRidge}} 
\item[\code{wCoefs}] 2-D CWT coefficients 
\item[\code{range}] plot range of m/z index 
\item[\code{colorMap}] colorMap to plot the points of local maximum 
\item[\code{main}] parameter of \code{\LinkA{plot}{plot}}
\item[\code{pch}] parameter of \code{\LinkA{plot}{plot}}
\item[\code{cex}] parameter of \code{\LinkA{plot}{plot}} 
\item[\code{...}] other parameters of \code{\LinkA{points}{points}}  
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Pan Du
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{getRidge}{getRidge}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
        data(exampleMS)
        scales <- seq(1, 64, 3)
        wCoefs <- cwt(exampleMS[5000:11000], scales=scales, wavelet='mexh')
        
        localMax <- getLocalMaximumCWT(wCoefs)
        ridgeList <- getRidge(localMax)
        plotRidgeList(ridgeList)
\end{ExampleCode}
\end{Examples}

