How do you move a caption of a "figure" inside a minipage? I want the caption to be directly under the figure as illustrated in the picture. Thanks in advance!
\begin{figure}
\centering
\hspace{0pt}
\begin{minipage}[t]{0.5\textwidth}
\centering
\vspace{14pt}
\begin{figure}
\includegraphics[scale=1.0]{99_stuff/figures/matplotlib/cyc2/linechart_Duration_cyc3.eps}
%\vspace{-14pt}
\captionof{figure}{Line chart duration \gls{gs} solver}
\end{figure}
%\caption{Line chart duration \gls{gs} solver}
\end{minipage}
\hfill
\begin{minipage}[t]{.425\textwidth}
\centering
\vspace{0pt}
\captionof{table}{Duration \gls{gs} solver}
\begin{tabular}{c c c c} % centered columns (4 columns)
\hline\hline %inserts double horizontal lines
$N_{HO}$ & $hfov$ & $\sum v_{i,k,h}$ & $D_{GS}$ \ [0.5ex] % inserts table
%heading
\hline % inserts single horizontal line
1 & 360° & 195000 & 90.63 s \ % inserting body of the table
2 & 180° & 390000 & 96.45 s \
3 & 120° & 585000 & 104.27 s \
4 & 90° & 780000 & 111.47 s \
5 & 72° & 975000 & 120.15 s \
6 & 60° & 1170000 & 128.42 s \
7 & $ \approx $ 51° & 1365000 & 134.09 s \
8 & 45° & 1560000 & 142.21 s \
9 & 40° & 1755000 & 151.09 s \
10 & 36° & 1950000 & 158.38 s \
[1ex] % [1ex] adds vertical space
\hline %inserts single line
\end{tabular}
\label{tab:timegs} % is used to refer this table in the text
\end{minipage}
\end{figure}


