I've got a figure, which is displayed fine:
\begin{figure}[htbp]
\centering
\begin{subfigure}[b]{0.48\textwidth}
\includegraphics[width=\textwidth]{xp_potato.eps}
\caption{X and P in the complex plane}
%\label{fig:xp_potato}
\end{subfigure}%
\begin{subfigure}[b]{0.48\textwidth}
\includegraphics[width=\textwidth]{xp_amp.eps}
\caption{Phase modulated amplitdue}
%\label{fig:xp_amp}
\end{subfigure}
\label{fig:xp}
\caption{\textbf{Quadrature balancing problem.} ...}
\end{figure}
and now I would like to reference it (after the figure):
\hyperref[fig:xp]{Figure ~\ref{fig:xp}}
But I get this result: "Figure ??"
However when I click on it, my viewer jumps to the right figure. This scheme works fine through out my whole thesis. How can I fix this reference?
\labelafter the\caption– Ronny May 20 '14 at 10:10