Skip to content

Instantly share code, notes, and snippets.

@yishanhe
Last active January 11, 2016 02:25
Show Gist options
  • Select an option

  • Save yishanhe/7ef16fb1d97a8d4ad0a5 to your computer and use it in GitHub Desktop.

Select an option

Save yishanhe/7ef16fb1d97a8d4ad0a5 to your computer and use it in GitHub Desktop.
Use minipage to arrange figures and tables in same row
\begin{figure*}[htb] % in ieee template, figure* will make this figure spanning two columns
\centering
\noindent\begin{minipage}[t]{0.24\linewidth}
\includegraphics[width=0.95\linewidth]{images/knn.pdf}
\caption{Accuracy changes with sampling lengths ($n_{ED}$) and numbers of nearest neighbours. }
\label{knn}
\end{minipage}
\hfill % hfill helps to space those minipages
\begin{minipage}[t]{0.24\linewidth}
\includegraphics[width=0.95\linewidth]{images/dtw-downsampling.pdf}
\caption{ Accuracy and scaled running time using DTW change with sampling lengths ($n_{DTW}$). }
\label{dtw-down}
\end{minipage}
% \begin{minipage}[b]{0.005\linewidth}
% \end{minipage}
\hfill % or you can manully insert a small minipage as space
\begin{minipage}[t]{0.24\linewidth}
\includegraphics[width=0.95\linewidth]{images/delay.pdf}
\caption{Running time comparison between our scheme and linear scanning. }
\label{dtw-performance}
\end{minipage}
\hfill
\begin{minipage}[t]{0.25\linewidth}
\includegraphics[width=0.95\linewidth]{images/feature_performance.pdf}
\caption{The F1-score of certain category of features is excluded.}
\label{fig:feature_performance}
\end{minipage}
\end{figure*}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment