Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ethiy committed Jun 2, 2020
1 parent e938e3f commit 97a4483
Show file tree
Hide file tree
Showing 7 changed files with 306 additions and 237 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ acs-*.bib
*.lzs

# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
*.ist

# gnuplottex
*-gnuplottex-*
Expand Down
50 changes: 50 additions & 0 deletions figures/experiments/transferability.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
\documentclass[tikz]{standalone}
\usepackage[T1]{fontenc}

\usepackage{tikz}
\usetikzlibrary{shapes, arrows, shadows, calc, decorations}

\usepackage{xcolor}
\definecolor{wheat}{RGB}{245,222,179}
\definecolor{darkgreen}{RGB}{0, 155, 85}


\begin{document}
\tikzstyle{zone}=[
draw,
font=\Large,
align=center,
minimum height=2.5em,
drop shadow,
rounded corners
]

\tikzstyle{edge}=[
draw,
->,
line width=1pt,
align=center,
]

\tikzstyle{branch}=[
draw,
line width=1pt,
align=center,
]

\pgfdeclarelayer{background}
\pgfsetlayers{background,main}
\begin{tikzpicture}
\node[zone, fill=gray!20] (z1) at (-5, 0) {$Z_1$};
\node[zone, fill=gray!20] (z2) at (1.25, 2.16506350946) {$Z_2$};
\node[zone, fill=gray!20] (z3) at (1.25, -2.16506350946) {$Z_n$};

\path (z1.west |- z2.north) + (-.125, .125) node (top_left) {};
\path ($(z1) ! .5 ! (z2)$) node (middle) {};
\path ( middle |- z2.north) node (top) {};
\path (z3.south east) + (.125, -.125) node (bottom_right) {};

\path[edge, darkgreen, visible on=<2>] (z1) to node[midway, sloped, above, align=center]{\scriptsize{Transferability}} (z2.west);
\path[edge, darkgreen, visible on=<2>] (z1) to node[midway, sloped, above, align=center]{\scriptsize{Transferability}} (z3.200);
\end{tikzpicture}
\end{document}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
\begin{tikzpicture}
\node[zone, fill=gray!20] (z1) at (-5, 0) {$Z_1$};
\node[zone, fill=gray!20] (z2) at (1.25, 2.16506350946) {$Z_2$};
\node[zone, fill=gray!20] (z3) at (1.25, -2.16506350946) {$Z_3$};
\node[zone, fill=gray!20] (z3) at (1.25, -2.16506350946) {$Z_n$};

\path (z1.west |- z2.north) + (-.125, .125) node (top_left) {};
\path ($(z1) ! .5 ! (z2)$) node (middle) {};
Expand All @@ -47,8 +47,5 @@
\path[edge, out=70,in=110,looseness=8, visible on=<2>] (z1) to node[midway, above, align=center] {Vanilla} (z1);
\path[edge, out=70,in=110,looseness=8, visible on=<2>] (z2) to node[midway, above, align=center] {Vanilla} (z2);
\path[edge, out=70,in=110,looseness=8, visible on=<2>] (z3) to node[midway, above, align=center] {Vanilla} (z3);

\path[edge, darkgreen, visible on=<3>] (z1) to node[midway, sloped, above, align=center]{\scriptsize{Transferability}} (z2.west);
\path[edge, darkgreen, visible on=<3>] (z1) to node[midway, sloped, above, align=center]{\scriptsize{Transferability}} (z3.200);
\end{tikzpicture}
\end{document}
12 changes: 3 additions & 9 deletions figures/features/geometric/graph_animated.tex
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,12 @@
\path (f) + (-2, -1) node[darkgreen, visible on=<4->] (facet_attributes) {\tiny \(\begin{bmatrix}
\operatorname{degree}(f)\\
\operatorname{Area}(f)\\
\operatorname{Circumference}(f)
\operatorname{Circumference}(f)\\
\operatorname{Centroid}(f)\\
\vec{\operatorname{normal}}(f)
\end{bmatrix}\)
};
\path (f) + (1.5, -1.5) node[blue, visible on=<5->] (edge_attributes) {\tiny
$\begin{bmatrix}
\Vert \operatorname{Centroid}(f)- \operatorname{Centroid}(g) \Vert_2\\
\arccos(\vec{\operatorname{normal}}(f) \cdot \vec{\operatorname{normal}}(g))
\end{bmatrix}$
};

\path[draw, ->, line width=1pt, rounded corners=10pt, darkgreen, visible on=<4->] (f.185) -- (facet_attributes.north);
\path (edge_attributes.north |- f.east) + (-.25, .4) node (edge) {};
\path[draw, ->, line width=1pt, rounded corners=10pt, blue, visible on=<5->] (edge) -- (edge |- edge_attributes.north);
\end{tikzpicture}
\end{document}
46 changes: 46 additions & 0 deletions figures/features/geometric/kernels_animated.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
\documentclass[tikz]{standalone}

\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{fourier}

\usepackage{xcolor}
\definecolor{darkgreen}{RGB}{0, 155, 85}

\usepackage{standalone}

\usepackage{pgfplots}

\usepackage{tikz}
\usetikzlibrary{shapes, arrows, shadows, calc, decorations, 3d}

\usepackage{mathrsfs, amsmath}


\begin{document}
\begin{tikzpicture}
\node (facet_graph) {\includestandalone[mode=buildmissing, height=4cm]{figures/toy_model/building_graph}};

\path (facet_graph) + (-.9, -1) node[black] (f) {\footnotesize \(f\)};

\path (facet_graph.west |- f) node[anchor=east, blue, visible on=<3-4>] (centroid) {\scriptsize \(\operatorname{Centroid}(f)\)};
\draw[->, blue, visible on=<3-6>] (f.west) -- (centroid.east);
\path (centroid.east) node[anchor=east, blue, visible on=<5>] (normal) {\scriptsize \(\operatorname{Normal}(f)\)};
\path (centroid.east) node[anchor=east, blue, visible on=<6>] (degree_area_circumference) {
\scriptsize \(\begin{bmatrix}
\operatorname{degree}(f)\\
\operatorname{Area}(f)\\
\operatorname{Circumference}(f)
\end{bmatrix}\)
};

\path (degree_area_circumference.west |- facet_graph.south) + (-1, 0) node[visible on=<4-6>, anchor=north west, align=left] (multi_scale_laplacian_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} Multiscale Laplacian kernel;};
\path (multi_scale_laplacian_kernel.south west) node[visible on=<4-6>, anchor=north west, align=left] (graph_hopper_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} Graph hopper kernel;};
\path (graph_hopper_kernel.south west) node[visible on=<4-6>, anchor=north west, align=left] (propagation_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} Propagation kernel.};

\path (degree_area_circumference.west |- facet_graph.south) + (-1, 0) node[visible on=<2>, anchor=north west, align=left] (random_walk_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} Random walk kernel;};
\path (random_walk_kernel.south west) node[visible on=<2>, anchor=north west, align=left] (svm_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} \acrshort{acr::svm} \(\vartheta\) kernel.};

\path (degree_area_circumference.west |- facet_graph.south) + (-1, 0) node[visible on=<7->, anchor=north west, align=left] (multi_scale_laplacian_kernel) {\small \textcolor{IGNGreen}{\(\blacktriangleright\)} Aggregated using \gls{acr::mkl}.};
\end{tikzpicture}
\end{document}
18 changes: 9 additions & 9 deletions figures/results/transferability.tex
Original file line number Diff line number Diff line change
Expand Up @@ -199,25 +199,25 @@
\addlegendentry {\footnotesize \strut \texttt{BIT}}

\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = -15pt,
pattern=north east lines,
draw=green
] table[x=x, y=y, meta index=2] {\oldBOS};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = -5pt,
pattern=north east lines,
draw=cyan
] table[x=x, y=y, meta index=2] {\oldBUS};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = 5pt,
pattern=north east lines,
draw=red
] table[x=x, y=y, meta index=2] {\oldBIB};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = 15pt,
pattern=north east lines,
draw=olive
Expand Down Expand Up @@ -286,31 +286,31 @@
\addlegendentry {\footnotesize \strut \texttt{FIG}}

\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = -20pt,
pattern=north east lines,
draw=green
] table[x=x, y=y, meta index=2] {\oldFOS};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = -10pt,
pattern=north east lines,
draw=cyan
] table[x=x, y=y, meta index=2] {\oldFUS};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = 0pt,
pattern=north east lines,
draw=red
] table[x=x, y=y, meta index=2] {\oldFIB};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = 10pt,
pattern=north east lines,
draw=olive
] table[x=x, y=y, meta index=2] {\oldFIT};
\addplot+[
visible on=<2->,
visible on=<2>,
bar shift = 20pt,
pattern=north east lines,
draw=violet
Expand Down
Loading

0 comments on commit 97a4483

Please sign in to comment.