In a chapter of my thesis, I have 3 figures where the third one consists of many subfigures that must be split over 3 pages. For that, I used \ContinuedFloat
and works fine. The problem, however, is the figure number is 4.1 which is not what I expect; I expect 4.3 as there are two figures before this one where they have the correct numbers. The third figure is:
\documentclass[demo]{report} % remove 'demo' option in real document
\usepackage{subcaption,graphicx,geometry}
\begin{document}
\counterwithin{figure}{chapter}
\setcounter{chapter}{4} % just for this example
\begin{figure}[tb]
\centering
\subfloat[FS -- Entropy]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/FS_Entropy_.pdf}%
\label{fig:fse}%
}
\subfloat[FS -- Phenotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/FS_Phenotype_.pdf}%
\label{fig:fsp}%
}\par
\subfloat[FS -- Genotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/FS_Genotype_.pdf}%
\label{fig:fsg}%
}\par
\subfloat[CL -- Entropy]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/CL_Entropy_.pdf}%
\label{fig:cle}%
}
\subfloat[CL -- Phenotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/CL_Phenotype_.pdf}%
\label{fig:clp}%
}\par
\subfloat[CL -- Genotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/CL_Genotype_.pdf}%
\label{fig:clg}%
}\par
\subfloat{%
\includegraphics[width=0.6\textwidth]{Images/Chapter4/RQ2/legend_crop.pdf}%
\label{fig:leg1}%
}
\end{figure}
\begin{figure}[tb]\ContinuedFloat
\centering
\subfloat[DIP -- Entropy]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/DIP_Entropy_.pdf}%
\label{fig:dipe}%
}
\subfloat[DIP -- Phenotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/DIP_Phenotype_.pdf}%
\label{fig:dipp}%
}\par
\subfloat[DIP -- Genotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/DIP_Genotype_.pdf}%
\label{fig:dipg}%
}\par
\subfloat[AR -- Entropy]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/AR_Entropy_.pdf}%
\label{fig:are}%
}
\subfloat[AR -- Phenotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/AR_Phenotype_.pdf}%
\label{fig:arp}%
}\par
\subfloat[AR -- Genotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/AR_Genotype_.pdf}%
\label{fig:arg}%
}\par
\subfloat{%
\includegraphics[width=0.6\textwidth]{Images/Chapter4/RQ2/legend_crop.pdf}%
\label{fig:leg2}%
}
\end{figure}
\begin{figure}[tb]\ContinuedFloat
\centering
\subfloat[DE -- Entropy]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/ED_Entropy_.pdf}%
\label{fig:dee}%
}
\subfloat[DE -- Phenotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/ED_Phenotype_.pdf}%
\label{fig:dep}%
}\par
\subfloat[DE -- Genotype]{%
\includegraphics[width=0.5\textwidth]{Images/Chapter4/RQ2/ED_Genotype_.pdf}%
\label{fig:deg}%
}\par
\subfloat{%
\includegraphics[width=0.6\textwidth]{Images/Chapter4/RQ2/legend_crop.pdf}%
\label{fig:leg3}%
}
\caption{Different techniques with different measures}
\label{fig:RQ2_plot}
\end{figure}
\end{document}
As I mentioned, the figure number of this is Figure 4.1 where in fact it should be Figure 4.3.
Do you have any idea what the problem is?
\ContinuedFloat
even come from?