AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[
group style={
group size=1 by 1,
horizontal sep=0.01cm
},
legend style={at={(0.05,0.5)}, anchor=west},
ylabel style={yshift=-0.2cm},
width=0.9\textwidth,
height=1.2\textwidth,
]
\nextgroupplot[
xlabel={\small Input dimension $d$},
ylabel={\small Number of basis functions},
legend pos=north west,
ymajorgrids=true,
xmajorgrids=true,
xtick=data,
ymode=log,
xticklabels={1,2,3,4,5},
legend entries={TP-8, TD-8, HC-8}]
\addplot[color=blue, mark=diamond] coordinates {
(1, 9)
(2, 81)
(3, 792)
(4, 6561)
(5, 59049)
};
\addplot[color=red, mark=diamond] coordinates {
(1, 9)
(2, 45)
(3, 165)
(4, 495)
(5, 1287)
};
\addplot[color=green, mark=diamond] coordinates {
(1, 9)
(2, 23)
(3, 44)
(4, 73)
(5, 111)
};
\end{groupplot}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.7, transform shape,]
\foreach \i in {1,2,3} {\node[circle, draw] (L\i) at (0, -2*\i) {$e_\i^{t-1}$};
}\foreach \i in {1,2,3} {\node[circle, draw] (R\i) at (4,- 2*\i) {$e_\i^{t}$};
}\draw[-] (L1) -- (R1);
\draw[-] (L1) -- (R2);
\draw[-] (L1) -- (R3);
\draw[-] (L2) -- (R1);
\draw[-] (L2) -- (R2);
\draw[-] (L2) -- (R3);
\draw[-] (L3) -- (R1);
\draw[-] (L3) -- (R2);
\draw[-] (L3) -- (R3);
\node[] at (2, -1.55) {$d(e^{t-1}, e^{t})$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, tikz}
\tikzset{
downward/.style={out=-90, in=90},
circlemor/.style={shape=circle, draw},
rectmor/.style={shape=rectangle, draw}
}
\newcommand{\id}{\mathrm{id}}
\newcommand{\inv}{^{-1}}
\begin{document}
\begin{tikzpicture}[baseline=(base.south)]
\node (base) at (0,-4) {};
\node (Etop) at (3,0) {$E$};
\node (Ebot) at (3,-8) {$E$};
\node [circlemor] (R) at (1.5, -1) {$r$};
\node [rectmor] (II) at (1.5,-2.5) {$(\id_E \wedge i)\inv$};
\node [rectmor] (RI) at (1.5,-4) {$(\id_E \wedge r)\inv$};
\node [circlemor] (I) at (1.5,-5.5) {$i$};
\draw (Etop) to [downward] (Ebot);
\draw (R) to [downward] node [left] {$E$} (II);
\draw (II.-120) to [downward] node [left] {$E$} (RI.120);
\draw (II.-60) to [downward] node [right] {$E$} (RI.60);
\draw (RI) to [downward] node [left] {$E$} (I);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz\datavisualization[school book axes,visualize as line/.list={a,b},style sheet=vary dashing,a={label in legend={text=a,label in legend line coordinates={(-1em,0),(0,0)}}},b={label in legend={text=b,label in legend line coordinates={(-2em,0),(0,0)}}}]data point[x=-1,y=-1,set=a]data point[x=1,y=0,set=a]data point[x=-1,y=1,set=b]data point[x=1,y=0.5,set=b];
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows,calc,positioning,patterns,shapes,snakes}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm, scale=0.9]
\clip(-1.7,-4.2) rectangle (16.5,2.1);
\begin{scope}[xshift=0cm]
\draw [color=blue, opacity=0.5, thick] (0,0)--(0, 2);
\draw [color=blue, opacity=0.5, thick] (6,0)--(6, 2);
\draw [color=blue, opacity=0.5, thick] (12,0)--(12, 2);
\draw [color=green, opacity=0.5, thick] (2,0)--(2, 2);
\draw [color=green, opacity=0.5, thick] (10,0)--(10, 2);
\draw [color=green, opacity=0.5, thick] (14,0)--(14, 2);
\draw [color=violet, opacity=0.5, thick] (4,0)--(4, 2);
\draw [color=violet, opacity=0.5, thick] (8,0)--(8, 2);
\draw [color=red, opacity=1, thick] (0,0)--(4, 2);
\draw [color=red, opacity=1, thick] (2,0)--(0, 2);
\draw [color=red, opacity=1, thick] (4,0)--(2, 2);
\draw [color=red, opacity=1, thick] (8,0)--(6, 2);
\draw [color=red, opacity=1, thick] (10,0)--(8, 2);
\draw [color=red, opacity=1, thick] (12,0)--(14, 2);
\draw [fill=black] (-1,1) circle (0pt) node {$G: $};
\draw [fill=black] (15,1) circle (1pt);
\draw [fill=black] (15.5,1) circle (1pt);
\draw [fill=black] (16,1) circle (1pt);
\foreach \a in {0,...,7}\draw [fill=black] (2*\a,0) circle (2pt);
\foreach \a in {0,...,7}\draw [fill=black] (2*\a,2) circle (2pt);
\end{scope}
\begin{scope}[yshift=-2cm]
\foreach \a in {0,1,2,3,4,6,7,8,9,12,13}\draw [color=black] (\a,0)--(\a+1, 0);
\draw (0,0) .. controls (1,1) and (4,1) .. (5,0);
\draw [fill=black] (-1,0) circle (0pt) node {$L(G): $};
\draw [fill=black] (15,0) circle (1pt);
\draw [fill=black] (15.5,0) circle (1pt);
\draw [fill=black] (16,0) circle (1pt);
\foreach \a in {1,3,5,7,9,13}\draw [fill=red] (\a,0) circle (3pt);
\foreach \a in {0,6,12}\draw [fill=blue] (\a,0) circle (3pt);
\foreach \a in {2,10,14}\draw [fill=green] (\a,0) circle (3pt);
\foreach \a in {4,8}\draw [fill=violet] (\a,0) circle (3pt);
\end{scope}
\begin{scope}[yshift=-4cm]
\foreach \a in {0,1,2,3,4,6,7,8,9,12,13}\draw [color=black] (\a,0)--(\a+1, 0);
\draw[snake=zigzag] (5,0)--(6, 0);
\draw[snake=zigzag] (10,0)--(12, 0);
\draw [dashed] (0,0) .. controls (1,1) and (4,1) .. (5,0);
\draw [fill=black] (-1,0) circle (0pt) node {$N: $};
\draw [fill=black] (15,0) circle (1pt);
\draw [fill=black] (15.5,0) circle (1pt);
\draw [fill=black] (16,0) circle (1pt);
\foreach \a in {1,3,5,7,9,13}\draw [fill=red] (\a,0) circle (3pt);
\foreach \a in {0,6,12}\draw [fill=blue] (\a,0) circle (3pt);
\foreach \a in {2,10,14}\draw [fill=green] (\a,0) circle (3pt);
\foreach \a in {4,8}\draw [fill=violet] (\a,0) circle (3pt);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\tikzset{arrow/.style={
decoration={markings,
mark= at position #1 with {\arrow{stealth}},
},
postaction={decorate}
}
}
\begin{document}
\begin{tikzpicture}
\draw[thick, |-|, arrow = 0.5] (-0.5, 0) to node[midway, above, xshift=-5] {$L'$} (2.6, 0);
\path (2.6, 0) to node[midway, above, yshift=-2] {\footnotesize $D_3$} (3.5, 0);
\draw[thick, |-, arrow = 0.5, black!30!red] (2.3, 0) to node[midway, below] {\small $v_1$} (3.5, 0);
\draw[thick, arrow = 0.5, black!30!red, |-|] (3.5, 0) to node[midway, above] {$v'$} (6.3 + 0.5, 0);
\draw[thick, -|, black!30!red, arrow = 0.6] (6.3 + 0.5, 0) to node[midway, below] {\small $v_2$} (6.8 + 0.5, 0);
\draw[thick, -|, arrow = 0.5] (6.8 + 0.5, 0) to node[midway, above, xshift=-5] {\footnotesize $E_3$} (7.8 + 0.5, 0);
\draw[thick, -|, arrow = 0.5] (7.8 + 0.5, 0) to node[midway, above, , xshift=5] {$R'$} (11, 0);
\draw[thick, arrow = 0.5] (2.6, 0) to node[midway, left] { \footnotesize $D_1$} (3.05, 1.2);
\path (3.05, 1.2) to coordinate[pos=0.4] (A) (3.5, 0);
\draw[thick, arrow = 0.9] (3.05, 1.2) to node[midway, right, xshift=3, yshift=-7] { \footnotesize $D_2$} (A);
\draw[thick, arrow = 0.6, |-, black!30!red] (A) to node[midway, right, xshift=-1, yshift=-2] {\small $v_1$} (3.5, 0);
\path (6.3 + 0.5, 0) to coordinate[pos=0.4] (B) (7.05 + 0.5, 1.2);
\draw[thick, arrow = 0.6, -|, black!30!red] (6.3 + 0.5, 0) to node[midway, left, yshift=2, xshift=1] {\small $v_2$} (B);
\draw[thick, arrow = 0.5] (B) to node[midway, left, xshift=-3, yshift=-3] { \footnotesize $E_1$} (7.05 + 0.5, 1.2);
\draw[thick, arrow = 0.5] (7.05 + 0.5, 1.2) to node[midway, right] { \footnotesize $E_2$} (7.8 + 0.5, 0);
\draw[thick, arrow=0.5] (3.05, 1.2) to[bend left, in=100, out=80, looseness=1.1] node[midway, below] {$u$} (7.05+ 0.5, 1.2);
\draw[arrow=1] (4.3, 1.2) arc (190:-75: 1.1 and 0.7) node[pos=0.3, below] {$a^n$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz,float}
\usetikzlibrary{automata,positioning,decorations.pathmorphing,arrows,arrows.meta,decorations.markings,calc}
\usepackage{tikz-cd}
\tikzset{commutative diagrams/.cd, arrow style=tikz, diagrams={>=latex}
}
\begin{document}
\begin{tikzpicture}[>={Straight Barb[length=6pt,width=5pt]
}, inner sep=2pt]\node at (0,0) (u) {$\langle u, x, y \rangle $};
\node at (3,0.5) (v1) {$\langle x, u, y \rangle $};
\node at (3,-0.5) (v2) {$\langle u, y, x \rangle $};
\path[->] (u) edge (v1);
\path[->] (u) edge (v2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[fleqn]{amsmath}
\usepackage{amssymb,pgfplots}
\begin{document}
\begin{tikzpicture}
\footnotesize
\begin{axis}[height=3.5cm,width=8.5cm,axis lines=middle,axis line style={->},xmin=0,xmax=30,ymin=0,ymax=1,x label style={at={(axis description cs:0.5,-0.2)},anchor=north},y label style={at={(axis description cs:-0.1,0.5)},rotate=90,anchor=south},title={(a) P-Falcon experiments in $\mathbb{Z}_{2^{64}}$ for CIFAR10\_AlexNet},title style={at={(axis description cs:0.5,0.9)},anchor=north},xlabel=Fraction precision (bit),ylabel=Inference accuracy,legend style={at={(1.05,1.4)},anchor=east},legend columns=2]
\addplot[smooth,mark=-,gray]coordinates{(1,0.10)(2,0.10)(3,0.10)(4,0.10)(5,0.10)(6,0.10)(7,0.10)(8,0.10)(9,0.10)(10,0.10)(11,0.10)(12,0.10)(13,0.10)(14,0.10)(15,0.10)(16,0.10)(17,0.10)(18,0.10)(19,0.10)(20,0.10)(21,0.10)(22,0.10)(23,0.10)(24,0.10)(25,0.10)(26,0.10)};
\addlegendentry{Random Guessing}\addplot[smooth,mark=*,blue]coordinates{(1,0.0938)(2,0.0989)(3,0.0982)(4,0.0984)(5,0.244400)(6,0.600000)(7,0.677400)(8,0.692800)(9,0.695000)(10,0.696100)(11,0.695800)(12,0.6963)(13,0.6963)(14,0.6960)(15,0.6965)(16,0.6964)(17,0.6962)(18,0.6962)(19,0.6962)(20,0.696200)(21,0.695200)(22,0.690400)(23,0.668700)(24,0.586200)(25,0.376200)(26,0.127300)};
\addlegendentry{$\text{ABY}^3$ mult-then-trc (r)}\addplot[smooth,red,mark=x]coordinates{(1,0.10)(2,0.10)(3,0.10)(4,0.10)(5,0.1698)(6,0.5602)(7,0.6704)(8,0.6902)(9,0.6948)(10,0.6965)(11,0.6958)(12,0.6964)(13,0.6958)(14,0.6964)(15,0.6963)(16,0.6963)(17,0.6963)(18,0.6963)(19,0.6963)(20,0.6963)(21,0.6963)(22,0.6963)(23,0.6963)(24,0.6963)(25,0.6963)(26,0.6963)};
\addlegendentry{$\text{ABY}^3$ mult-then-trc (f)}\addplot[smooth,green,mark=triangle*]coordinates{(1,0.10)(2,0.10)(3,0.10)(4,0.10)(5,0.191900)(6,0.499700)(7,0.532200)(8,0.660900)(9,0.657800)(10,0.684900)(11,0.684900)(12,0.690300)(13,0.691700)(14,0.695000)(15,0.693600)(16,0.696000)(17,0.695000)(18,0.695500)(19,0.695600)(20,0.696000)(21,0.696500)(22,0.696300)(23,0.696500)(24,0.696200)(25,0.696500)(26,0.696400)};
\addlegendentry{$\text{ABY}^3$ trc-then-mult (r)}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[->,allow upside down]
\draw (0,0) -- (2,0.5) node[midway,sloped,above] {$x$};
\draw (2,-.5) -- (0,0) node[midway,sloped,below] {$y$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{amssymb, amsthm, amsmath}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[node distance = 1cm, line width = 0.5pt]
\coordinate (1) at (0,0);
\coordinate (2) at (0,1);
\coordinate (3) at (1,1);
\coordinate (4) at (1,0);
\coordinate (5) at (2,1);
\coordinate (6) at (2,0);
\draw (1)--(2);
\draw (2)--(3);
\draw (3)--(4);
\draw (3)--(5);
\draw (4)--(6);
\draw (1)--(4);
\foreach \point in {1,2,3,4,5,6}
\fill (\point) circle (4pt);
\filldraw [white] (0,1) circle (3pt) (1,0) circle (3pt) (2,0) circle (3pt) (0,0) circle (3pt) (2,1) circle (3pt) (1,1) circle (3pt);
\node (A) at (0,-0.4) {$v_1$};
\node (B) at (1,-0.4) {$v_4$};
\node (C) at (2,-0.4) {$v_6$};
\node (D) at (0,1.4) {$v_2$};
\node (E) at (1,1.4) {$v_3$};
\node (F) at (2,1.4) {$v_5$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend pos=north west]
\addplot {x^3};
\addplot [
ybar,
ybar legend,
fill=red,
draw=red!60,
mark=none,
samples=5,
] {-30*(x +4)};
\legend{first,second}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
hist={
bins=3,
handler/.style={sharp plot},
},
] table [row sep=\\,y index=0] {
data\\
1\\ 2\\ 1\\ 5\\ 4\\ 10\\
7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization data group {sin functions} = {
data [format=function] {
var set : {1,...,8};
var x : interval [0:50];
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
}
};
\tikzdatavisualizationset {
example visualization/.style={
scientific axes=clean,
y axis={ticks={style={
/pgf/number format/fixed,
/pgf/number format/fixed zerofill,
/pgf/number format/precision=2}}},
x axis={ticks={tick suffix=${}^\circ$}},
1={label in legend={text=$\frac{1}{6}\sin 11x$}},
2={label in legend={text=$\frac{1}{7}\sin 12x$}},
3={label in legend={text=$\frac{1}{8}\sin 13x$}},
4={label in legend={text=$\frac{1}{9}\sin 14x$}},
5={label in legend={text=$\frac{1}{10}\sin 15x$}},
6={label in legend={text=$\frac{1}{11}\sin 16x$}},
7={label in legend={text=$\frac{1}{12}\sin 17x$}},
8={label in legend={text=$\frac{1}{13}\sin 18x$}}
}
}
\tikz \datavisualization [
visualize as smooth line/.list={1,2,3,4,5,6,7,8},
example visualization,
style sheet=shades of blue]
data group {sin functions};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}
[grow cyclic,
level 1/.style={level distance=8mm,sibling angle=60},
level 2/.style={level distance=4mm,sibling angle=45},
level 3/.style={level distance=2mm,sibling angle=30}]
\coordinate [rotate=-90]
child foreach \x in {1,2,3}
{child foreach \x in {1,2,3}
{child foreach \x in {1,2,3}}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line width=1.5pt,font=\Large]
\draw[red](0,0)circle(1)node[above,font=\large]at(45:.38){$T_m$};
\draw(0,0)circle(2)node[above,font=\large]at(45:1.3){$T_p$};
\draw[blue](0,0)circle(3)node[above,font=\large]at(45:2.4){$T_M$};
\foreach\a in{30,75,...,360}{\draw[red,dashed,->](\a:1.7)--(\a:1.15);
\draw[blue,->](\a:2.2)--(\a:2.7);
}
\begin{scope}[shift={(8,0)}]
\draw[blue](-2,2)circle(1)node(2){$X_2$};
\draw[red](-2,-2)circle(1)node(3){$X_3$};
\draw(2,2)circle(1)node(1){$X_1$};
\draw(2,-2)circle(1)node(4){$X_4$};
\draw[->](2,1)--(2,-1)node[midway,right]{$T_p$};
\draw[blue,->](1,2)to[out=180,in=135](-1.05,1.05)--(1,0);
\draw[red,->](1,2)to[out=180,in=135](-1.25,-1.25)--(1,0);
\draw[->,dashed,gray,line width=2pt](1)edge(3)(2)edge(3)(3)edge(4);
\node[below,red]at(0,-.9){$T_m$};
\node[above,blue]at(-.2,.4){$T_M$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\clip [] (0,0) circle [radius=2cm-0.5\pgflinewidth];
\fill[white] (0,0) circle [radius=2cm];
\end{scope}
\draw [red,thick,domain=68:292] plot ({-1.8+cos(\x)}, {sin(\x)});
\draw [red,thick,domain=79:281] plot ({-1.8+0.8*cos(\x)}, {0.8*sin(\x)});
\draw [blue,thick,domain=0:115] plot ({-1+cos(\x)}, {sin(\x)});
\draw [blue,thick,domain=245:360] plot ({-1+cos(\x)}, {sin(\x)});
\draw [blue,thick,domain=130:230] plot ({-1+cos(\x)}, {sin(\x)});
\draw[->] (-4.5,-0.15) -- (1,-0.15) node[right] {$x$};
\draw[->] (-1,-2) -- (-1,2) node[right] {$y$};
\fill (-1,-0.15) circle (1pt) node[anchor=north] {$x_{1,n}$};
\fill (-3,-0.15) node[anchor=north] {\large$\mathcal{C}_1$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}[thick,dot/.style={draw,fill=black,circle,inner sep=0,minimum size=2pt}]
\draw[smooth cycle,tension=.6]plot coordinates{(-1,-.4) (1.1,-.6) (.9,.5) (-1.1,.5)}node at(1,.6){$\Omega$};
\draw[blue](-1.1,.5)..controls(-.5,-.2)and(.5,0)..coordinate[dot,pos=.3,black](A)coordinate[dot,pos=.5,black](B)node[black,anchor=north]{$x_0$}coordinate[dot,pos=.7,black](C)coordinate[pos=.92](D)(1.1,-.6);
\node[draw=gray,circle,minimum size=.6cm](cA)at(A){};
\node[draw=gray,circle,minimum size=.75cm](cB)at(B){};
\node[anchor=south,gray]at([yshift=10]B){$\gamma(\bar{D})$};
\node[draw=gray,circle,minimum size=.6cm](cC)at(C){};
\node[blue,anchor=south west]at(D){$S$};
\draw[red,dashed](-1.1,.5)to[out=-20,in=190](cA.110)to[out=10,in=170](cB.90)to[out=-10,in=170](cC.80)to[out=-10,in=150](1.1,-.6);
\draw[red,dashed](-1.1,.5)to[out=-50,in=150](cA.250)to[out=-20,in=180](cB.270)to[out=0,in=190](cC.280)to[out=10,in=180](1.1,-.6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows, matrix}
\begin{document}
\begin{tikzpicture}
\matrix(m)[matrix of math nodes, row sep=4em, column sep=4em, text height=1.5ex, text depth=0.25ex]
{\mbox{\textbf{dCat}}&&\mbox{\textbf{bCat}}^*\\
&\mbox{\textbf{gCat}}&\\};
\path[->, font=\scriptsize, >=angle 90]
(m-1-1) edge node [above]{$H^*$} (m-1-3)
edge node [left]{$\gamma$} (m-2-2)
(m-2-2) edge node [right]{$H^*\restriction_{\mbox{\textbf{gCat}}}$}(m-1-3)
(m-2-2) edge [bend left=55] node [black,left]{$i$}(m-1-1)
(m-2-2) edge [white,bend left=30] node [black, fill=white]{$\vdash$}(m-1-1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\tikz [circle] {
\node [draw] (s) [label=$s$] {};
\node [draw] (a) [right=of s] {} edge (s);
\node [draw] (b) [right=of a] {} edge (a);
\node [draw] (t) [right=of b, label=$t$] {} edge (b);
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, graphicx, amssymb, amsthm, tikz-cd}
\usepackage[color=pink,textsize=footnotesize]{todonotes}
\begin{document}
\begin{tikzpicture}
\draw[->] (0,0)--(1,.8) node[right] at (1,.8){$g$};
\draw[->] (0,0)--(0,.8) node[above] at (0,.8){$b$};
\draw[->] (0,0)--(-1,-.2) node[left] at (-1,-.2){$c$};
\draw[->] (0,0)--(0,-.2) node[below] at (0,-.2){$a$};
\begin{scope}[xshift=1.5in, yshift=.1in]
\begin{scope}[scale=.5]
\draw[->] (0,0)--(0,1) node[above] at (0,1){$b$};
\draw[->] (0,0)--(0,-1) node[below] at (0,-1){$a$};
\draw[->] (0,0)--(2,1) node[right] at (2,1){$g$};
\draw[->] (0,0)--(-2,-1) node[left] at (-2,-1){$c$};
\end{scope}
\end{scope}
\begin{scope}[xshift=3in, yshift=.1in]
\draw[->] (0,0)--(1,.2) node[right] at (1,.2){$g$};
\draw[->] (0,0)--(0,.2) node[above] at (0,.2){$b$};
\draw[->] (0,0)--(-1,-.8) node[left] at (-1,-.8){$c$};
\draw[->] (0,0)--(0,-.8) node[below] at (0,-.8){$a$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar interval=0.9,
x tick label as interval,
xmin=2003,xmax=2030,
ymin=0,ymax=140,
xticklabel={
$\pgfmathprintnumber{\tick}$
-- $\pgfmathprintnumber{\nexttick}$},
xtick=data,
x tick label style={
rotate=90,anchor=east,
/pgf/number format/1000 sep=
},
]
\addplot [draw=blue,fill=blue!40!white]
coordinates
{(2003,40) (2005,100) (2006,15)
(2010,90) (2020,120) (2030,3)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{trees}
\tikzset{
level distance=1cm,
sibling distance=1cm
}
\begin{document}
\begin{tikzpicture}
\node {root}
[clockwise from=30,sibling angle=30]
child {node {$30$}}
child {node {$0$}}
child {node {$-30$}}
child {node {$-60$}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[I=$~$, l=1A, v_=$u_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xtick=data,
ytick=data,
ytick align=outside,
]
\addplot coordinates {
(-3,0) (-2,0.1) (-1,-0.6)
(0,1)
(1,-0.6) (2,0.1) (3,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend pos=outer north east,
]
\addplot coordinates {(0,0) (1,1)};
\addplot coordinates {(0,1) (1,2)};
\addplot coordinates {(0,2) (1,3)};
\legend{$l_1$,$l_2$,$l_3$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xtick={-1.5,-1,...,1.5},
xticklabels={
$-1\frac 12$,
$-1$,
$-\frac 12$,
$0$,
$\frac 12$,
$1$},
]
\addplot [smooth,blue,mark=*] coordinates {
(-1, 1)
(-0.75, 0.5625)
(-0.5, 0.25)
(-0.25, 0.0625)
(0, 0)
(0.25, 0.0625)
(0.5, 0.25)
(0.75, 0.5625)
(1, 1)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.525,style=thick]
\def\h{6}
\def\hh{1}
\def\hhh{2.25}
\def\vr{0.3}
\def\tr{2.1}
\draw [color=lightgray, fill=lightgray, fill opacity=0.5] (90:\h)--(30:\hhh)--(330:\hh)--(90:\hh)--(90:\h);
\draw [color=lightgray, fill=lightgray, fill opacity=0.5] (90+120:\h)--(30+120:\hhh)--(330+120:\hh)--(90+120:\hh)--(90+120:\h);
\draw [color=lightgray, fill=lightgray, fill opacity=0.5] (90-120:\h)--(30-120:\hhh)--(330-120:\hh)--(90-120:\hh)--(90-120:\h);
\foreach \x in {90,210,330} \draw (\x:\hh)--(\x+120:\hh);
\foreach \x in {90,210,330} \draw (\x:\h)--(\x+120:\h);
\foreach \x in {-90,30,150} \draw (\x:\hhh)--(\x+60:\h);
\foreach \x in {-90,30,150} \draw (\x:\hhh)--(\x-60:\h);
\foreach \x in {-90,30,150} \draw (\x:\hhh)--(\x-60:\hh);
\foreach \x in {90,210,330} \draw (\x:\hh)--(\x+120:\h);
\foreach \x in {90,210,330} \draw (\x:\hh)--(\x:\h);
\foreach \x in {180,60,300} \draw (\x-30:\hhh)--(\x:\tr)--(\x+30:\h);
\foreach \x in {90,210,330} \draw (\x:\hh)--(\x+90:\tr);
\foreach \x in {90,210,330} \draw (\x:\h) [fill=white] circle (\vr);
\foreach \x in {90,210,330} \draw (\x:\hh) [fill=white] circle (\vr);
\foreach \x in {-90,30,150} \draw (\x:\hhh) [fill=white] circle (\vr);
\foreach \x in {180,60,300} \draw (\x:\tr) [fill=white] circle (\vr);
\draw (90:\h) node {\scriptsize 6};
\draw (210:\h) node {\scriptsize 1};
\draw (330:\h) node {\scriptsize 5};
\draw (90:\hh) node {\scriptsize 4};
\draw (210:\hh) node {\scriptsize 2};
\draw (330:\hh) node {\scriptsize 3};
\draw (-90:\hhh) node {\scriptsize 3};
\draw (30:\hhh) node {\scriptsize 4};
\draw (150:\hhh) node {\scriptsize 2};
\draw (180:\tr) node {\scriptsize 5};
\draw (60:\tr) node {\scriptsize 1};
\draw (300:\tr) node {\scriptsize 6};
\draw [->,>=stealth] (2.9,2.1)--+(3,0);
\foreach \x in {1,2,3,4,5,6} \draw (9,2) +(\x*60-60:2)--+(\x*60:2);
\foreach \x in {1,2,3,4,5,6} \draw (9,2) +(\x*60-60:2)--+(\x*60+60:2);
\foreach \x in {2,4,6} \draw (9,2) +(\x*60:2)--+(\x*60+180:2);
\foreach \x in {1,2,3,4,5,6} \draw (9,2) +(\x*60-60:2) [fill=white] circle (\vr) node {\scriptsize $\x$};
\draw (-2,5) node {$M$};
\draw (9,-1) node {$K=\Delta_5^{2}$};
\draw (4.3,2.5) node {$\varphi$};
\end{tikzpicture}
\end{document}