Skip to content

Commit

Permalink
Add figures
Browse files Browse the repository at this point in the history
  • Loading branch information
guanyingc committed Nov 19, 2021
1 parent b579f3c commit 290b2da
Show file tree
Hide file tree
Showing 14 changed files with 330 additions and 23 deletions.
4 changes: 4 additions & 0 deletions figures/figure1.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\begin{figure}[thb] \centering
\includegraphics[width=0.48\textwidth]{example-image}
\caption{A simple figure.} \label{fig:figure1}
\end{figure}
39 changes: 39 additions & 0 deletions figures/figure10.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
\begin{figure*}[t] \centering
\makebox[0.33\textwidth]{\footnotesize Input A}
\makebox[0.33\textwidth]{\footnotesize Input B}
\makebox[0.33\textwidth]{\footnotesize Input C}
\\
\includegraphics[width=0.33\textwidth]{example-image-a}
\includegraphics[width=0.33\textwidth]{example-image-a}
\includegraphics[width=0.33\textwidth]{example-image-a}
\\
\makebox[0.495\textwidth]{\footnotesize Overlapped Input} \hfill
\makebox[0.495\textwidth]{\footnotesize Our Result}
\\
\includegraphics[width=0.495\textwidth]{example-image-b} \hfill
\includegraphics[width=0.495\textwidth]{example-image-b}
\\
\makebox[0.162\textwidth]{\footnotesize Method A}
\makebox[0.162\textwidth]{\footnotesize Method B}
\makebox[0.162\textwidth]{\footnotesize Method C}
\makebox[0.162\textwidth]{\footnotesize Method D}
\makebox[0.162\textwidth]{\footnotesize Method E}
\makebox[0.162\textwidth]{\footnotesize Method F}
\\
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\\
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\includegraphics[width=0.162\textwidth]{example-image-c}
\\
\caption{A figure with multi-level images.}
\label{fig:fig9}
\end{figure*}
36 changes: 36 additions & 0 deletions figures/figure11.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
\begin{figure*}[t] \centering
\newcommand{\figsize}{0.24}
\newcommand{\halffigsize}{0.115}
\newcommand{\largefigsize}{0.495}
\newcommand{\hwidth}{1pt}
\makebox[0.24\textwidth]{\small Overlapped Input}
\makebox[0.24\textwidth]{\small \KalantariTOG}
\makebox[0.24\textwidth]{\small \KalantariEG}
\makebox[0.24\textwidth]{\small Ours}
\\
\includegraphics[width=0.24\textwidth]{}
\includegraphics[width=0.24\textwidth]{}
\includegraphics[width=0.24\textwidth]{}
\includegraphics[width=0.24\textwidth]{}
\\[2pt]
\makebox[0.24\textwidth]{%
\includegraphics[width=\halffigsize\textwidth]{example-image}\hspace{\hwidth}
\includegraphics[width=\halffigsize\textwidth]{example-image}}
\makebox[0.24\textwidth]{%
\includegraphics[width=\halffigsize\textwidth]{example-image}\hspace{\hwidth}
\includegraphics[width=\halffigsize\textwidth]{example-image}}
\makebox[0.24\textwidth]{%
\includegraphics[width=\halffigsize\textwidth]{example-image}\hspace{\hwidth}
\includegraphics[width=\halffigsize\textwidth]{example-image}}
\makebox[0.24\textwidth]{%
\includegraphics[width=\halffigsize\textwidth]{example-image}\hspace{\hwidth}
\includegraphics[width=\halffigsize\textwidth]{example-image}}
\\[-0.1em]
\makebox[\textwidth]{\small (a) Results on \NinjaScene.}
\\[0.5em]
\\[0.5em]
\\
\caption{A figure with multi-level images.}
\label{fig:fig9}
\end{figure*}

5 changes: 5 additions & 0 deletions figures/figure2.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\begin{figure}[thb] \centering
\includegraphics[width=0.23\textwidth]{example-image-a}
\includegraphics[width=0.23\textwidth]{example-image-b}
\caption{A figure with two images placed side-by-side.} \label{fig:figure2}
\end{figure}
8 changes: 8 additions & 0 deletions figures/figure3.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\begin{figure}[thb] \centering
\includegraphics[width=0.23\textwidth]{example-image}
\includegraphics[width=0.23\textwidth]{example-image}
\\
\includegraphics[width=0.23\textwidth]{example-image}
\includegraphics[width=0.23\textwidth]{example-image}
\caption{A figure with four images.} \label{fig:figure3}
\end{figure}
24 changes: 24 additions & 0 deletions figures/figure4.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
\begin{figure}[t] \centering
\makebox[0.108\textwidth]{\scriptsize (a) Method 1}
\makebox[0.108\textwidth]{\scriptsize (b) Method 2}
\makebox[0.108\textwidth]{\scriptsize (c) Method 3}
\makebox[0.108\textwidth]{\scriptsize (d) Method 4}
\\
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\caption{A figure with text header.}
\label{fig:teaser}
\end{figure}
29 changes: 29 additions & 0 deletions figures/figure5.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
\begin{figure}[t] \centering
\makebox[0.01\textwidth]{}
\makebox[0.108\textwidth]{\scriptsize Input 1}
\makebox[0.108\textwidth]{\scriptsize Input 2}
\makebox[0.108\textwidth]{\scriptsize Input 3}
\makebox[0.108\textwidth]{\scriptsize Input 4}
\\
\raisebox{0.1\height}{\makebox[0.01\textwidth]{\rotatebox{90}{\makecell{\scriptsize Method A}}}}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\raisebox{0.1\height}{\makebox[0.01\textwidth]{\rotatebox{90}{\makecell{\scriptsize Method B}}}}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\raisebox{0.1\height}{\makebox[0.01\textwidth]{\rotatebox{90}{\makecell{\scriptsize Method C}}}}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\includegraphics[width=0.108\textwidth]{example-image}
\\
\caption{A figure with vertical text illustration.}
\label{fig:teaser}
\end{figure}

9 changes: 9 additions & 0 deletions figures/figure6.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
\begin{figure}[t] \centering
\raisebox{1.5\height}{\makebox[0.055\textwidth]{\makecell{\small (a) \\ \footnotesize Version 1}}}
\includegraphics[width=0.175\textwidth]{example-image-a} \hfill
\raisebox{1.5\height}{\makebox[0.055\textwidth]{\makecell{\small (b) \\ \footnotesize Version 2}}}
\includegraphics[width=0.175\textwidth]{example-image-b}
\\
\caption{A figure with two sub-figures.} \label{fig:figure6}
\end{figure}

5 changes: 5 additions & 0 deletions figures/figure7.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

\begin{figure*} \centering
\includegraphics[width=\textwidth,height=0.4\textwidth]{example-image}
\caption{A simple two-column figure.} \label{fig:figure7}
\end{figure*}
40 changes: 40 additions & 0 deletions figures/figure8.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
\begin{figure*}[t] \centering
\makebox[0.12\textwidth]{\footnotesize (a) Method 1}
\makebox[0.12\textwidth]{\footnotesize (b) Method 2}
\makebox[0.12\textwidth]{\footnotesize (c) Method 3}
\makebox[0.12\textwidth]{\footnotesize (d) Method 4}
\makebox[0.12\textwidth]{\footnotesize (e) Method 5}
\makebox[0.12\textwidth]{\footnotesize (f) Method 6}
\makebox[0.12\textwidth]{\footnotesize (g) Method 7}
\makebox[0.12\textwidth]{\footnotesize (h) Method 8}
\\
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\\
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\\
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\includegraphics[width=0.12\textwidth]{example-image}
\\
\caption{A two-column figure with multiple iamges and text header.}
\label{fig:figure8}
\end{figure*}
91 changes: 91 additions & 0 deletions figures/figure9.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
\newcommand{\largefigsize}{0.160}
\newcommand{\smallboxsize}{0.076}
\newcommand{\smallfigsize}{0.076}
\newcommand{\rheightsize}{0.77}
\newcommand{\vspacesize}{-2}
\newcommand{\hspacesize}{-3}

\begin{figure*}[t] \centering
\makebox[0.24\textwidth]{\footnotesize (a) Input frame}
\makebox[0.24\textwidth]{\footnotesize (b) Method A}
\makebox[0.24\textwidth]{\footnotesize (c) Method B}
\makebox[0.24\textwidth]{\footnotesize (d) Method C}
\\
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}
\\
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}\hfill
\includegraphics[width=\largefigsize\textwidth]{example-image}\hspace{\hspacesize pt}
\raisebox{\rheightsize\height}{
\makebox[\smallboxsize\textwidth]{
\makecell{
\includegraphics[width=\smallfigsize\textwidth]{example-image}\\[\vspacesize pt]
\includegraphics[width=\smallfigsize\textwidth]{example-image}
}
}
}
\\
\caption{A figure with multiple images, each with two zoom-in patches for comparison.}
\label{fig:fig9}
\end{figure*}

59 changes: 38 additions & 21 deletions paper_writing_tips.tex
Original file line number Diff line number Diff line change
Expand Up @@ -109,44 +109,61 @@ \section{Suggestions}
\item use newcommand in equation
\item Principal: be compact and clear.
\item Contributions
\item Use Figure x at the beginning of the sentence, and Fig.~x else where.
\item Also use Table~x when referring table.
\end{itemize}

\clearpage
\section{Sample layout for figures}
\begin{itemize}
\item The caption should be at the bottom of the figure.
\end{itemize}


\clearpage
\section{Sample layout for tables}
Suggestions.
\begin{itemize}
\item The caption should be at the top of the table.
\item The text should not be too small.
\item
\item It is better to put the table at top of the paper.
\end{itemize}

% single column
\input{tables/table1}
\input{tables/table2}
\input{tables/table3}
\input{tables/table4}
\input{tables/table5}
\input{tables/table6}
\input{tables/table_network2}
\input{tables/table1} % simple table
\input{tables/table2} % multi-column table
\input{tables/table3} % multi-column with makecell
\input{tables/table4} % multi-column with vertical lines
\input{tables/table5} % multi-column with bold font
\input{tables/table6} % multi-column with parallel lines
\input{tables/table_network2} % single-column network arch

\input{tables/table_figure1}
\input{tables/table_figure1} % table with images

% two column
\input{tables/table8}
\input{tables/table9}
\input{tables/table7}
\input{tables/table_figure2}
\input{tables/table8} % two-column table
\input{tables/table9} % two-column table with color header
\input{tables/table7} % two-column table with two sub-tables
\input{tables/table_figure2} % two-column tables with images in the header

\input{tables/table_network1}
\input{tables/table_network1} % two column network arch table


\clearpage
\section{Sample layout for figures}
\begin{itemize}
\item The caption should be at the bottom of the figure.
\end{itemize}

% Single-column
\input{figures/figure1} % single image
\input{figures/figure2} % two images
\input{figures/figure3} % four images
\input{figures/figure4} % four images with text header
\input{figures/figure5} % four images with vertical text
\input{figures/figure6} % two sub figures

% Two column
\input{figures/figure7} % single image
\input{figures/figure8} % multiple images
\input{figures/figure9} %
\input{figures/figure10} %
\input{figures/figure11} %


\clearpage
%%%%%%%%% REFERENCES
{\small
Expand Down
2 changes: 1 addition & 1 deletion tables/table6.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% \usepackage{xcolor}

\begin{table}[thb]\centering
\caption{a table with parallel lines for grouping and color highlight.} %
\caption{A table with parallel lines for grouping and color highlight.} %
\label{tab:ablation_study}
\resizebox{0.48\textwidth}{!}{
\Large
Expand Down
2 changes: 1 addition & 1 deletion tables/table8.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\begin{table*} \centering
\caption{A two-column table with color header.}
\caption{A two-column table.}
\label{tab:table8}
\resizebox{\textwidth}{!}{
\Huge
Expand Down

0 comments on commit 290b2da

Please sign in to comment.