I have one figure which contains 2 figures:
\begin{figure*}
\begin{center}
\subfigure[A]{
\begin{tikzpicture}
....
\end{tikzpicture}
}
\quad
\subfigure[B]{
\begin{tikzpicture}
....
\end{tikzpicture}
}
\end{center}
\end{figure*}
Could anyone tell me how to add a vertical line between them to visually separate them?

subfigureinsidetabular? – SoftTimur Mar 5 at 22:38subfigurepackage is obsolete and eithersubfigorsubcaptionshould be used; the former has a syntax likesubfigure(but you should use\subfloatinstead of\subfigure). There are many spurious spaces in your code. – egreg Mar 5 at 22:48%after{? – SoftTimur Mar 5 at 22:51