AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes,shapes.misc}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{new/.style={color=orange,line width=.2pt}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\tikzset{line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=.6]
\tkzDefPoint(2,2){A} \tkzDefPoint(5,-2){B}
\tkzDefPoint(3,4){C} \tkzDrawPoints(A,B)
\tkzDrawPoint[shape=cross out](C)
\tkzCompasss[new](A,B A,C B,C C,B)
\tkzShowLine[mediator,new,dashed,length = 2](A,B)
\tkzShowLine[parallel = through C, color=purple,length=2](A,B)
\tkzDefLine[mediator](A,B) \tkzGetPoints{i}{j}
\tkzDefLine[parallel=through C](A,B) \tkzGetPoint{D}
\tkzDrawLines[add=.6 and .6](C,D A,C B,D)
\tkzDrawLines(i,j) \tkzDrawPoints(A,B,C,i,j,D)
\tkzLabelPoints(A,B,C,i,j,D)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shadings}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\shade[ball color=white,opacity=0.2] (0,0) circle [radius=2cm];
\draw[thick] (0.3535,0.3535) arc (45:90:0.5) node at (0.3,0.7) {$\gamma$};
\draw (O) circle [radius=2cm];
\filldraw (O) circle (1pt) node[below] {$O$};
\filldraw (0,2) circle (1pt) node[above] {$e$};
\draw[densely dashed] (O)--(-1.33,1.33);
\draw[densely dashed] (O)--(1.33,1.33);
\draw[densely dashed] (O)--(0,2);
\draw (-1.35,1.47) arc [start angle=140,end angle=40,x radius=17.6mm,y radius=14.75mm];
\draw[densely dashed] (-1.36,1.46) arc [start angle=170,end angle=10,x radius=13.8mm,y radius=3.6mm];
\draw (-1.29,1.52) arc [start angle=-200,end angle=20,x radius=13.75mm,y radius=3.15mm];
\draw (-2,0) arc [start angle=-180,end angle=0,x radius=20mm,y radius=6mm];
\draw[densely dashed] (-2,0) arc [start angle=180,end angle=0,x radius=20mm,y radius=6mm];
\draw[->] (1,2)--(0.3,1.5) node at (1.4,2) {$\mathcal{D}_{\gamma}$};
\filldraw (-0.6,1.135) circle (1pt) node[below] {$x_j$};
\draw[densely dashed] (-0.6,1.135)--(0,2);
\draw[->] (-0.6,1.135)--(0,2.8) node at (0.7,2.8) {$n_e(x_j)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines*=right,
samples=5, domain=-4:4,
xtick=data, ytick=data,
]
\addplot3 [surf] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=15pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\pgfplotsset{
compat=1.11,
/pgf/declare function={
f(\x) = (\x)^3 - 4*(\x) + 3;
g(\x) = 3*(\x)^2 - 4;
h(\x) = g(\x) * (-\x) + f(\x);
},
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width=3.5in, height=3.5in,
axis lines=middle,
axis line style={latex-latex, shorten >=-12.5pt, shorten <=-12.5pt},
xmin=-2.5251, xmax=2.4567,
ymin=-3, ymax=8,
xtick={-1.1547, 1.1547},
xticklabels={},
ytick={\empty},
xlabel=$x$, ylabel=$y$,
xlabel style={at={(ticklabel* cs:1)}, xshift=12.5pt, anchor=north west},
ylabel style={at={(ticklabel* cs:1)}, yshift=12.5pt, anchor=south west},
domain=-2.5251:2.4567,
]
\addplot [samples=51, smooth] {f(x)};
\pgfmathsetmacro{\X}{-1}
\addplot [samples=2, latex-latex, dashed] {g(\X)*x + h(\X)};
\fill [blue] ({\X}, {f(\X)}) circle [radius=1.5pt];
\pgfmathsetmacro{\XX}{2.25}
\coordinate (P) at (\XX, {f(\XX)});
\coordinate (Q) at (0, {h(\XX)});
\end{axis}
\draw [draw=gray, shorten <=1mm, shorten >=1mm]
(P) -- ($(P)!0.75cm!90:(Q)$);
\node [anchor=west, inner sep=0, font=\footnotesize]
at ($(P)!0.75cm!90:(Q)$){$y = x^{3} - 4x + 3$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[very thick, blue] (1,2) -- (4,2);
\draw[very thick, blue, domain=0.2:1] plot (\x,{2*(\x -1)^2+2});
\draw[very thick, blue, domain=0.2:1] plot (\x,{-2*(\x -1)^2+2});
\draw[very thick, blue, domain=4:4.8] plot (\x,{2*(\x -4)^2+2});
\draw[very thick, blue, domain=4:4.8] plot (\x,{-2*(\x -4)^2+2});
\draw[very thick, red, ->] (2.5,2.1) -- (2.5,3);
\draw[very thick, red, ->] (2.5,1.9) -- (2.5,1);
\draw (0.5,2) node{$\Omega^0$};
\draw (4.5,2) node{$\Omega^0$};
\draw (1.5,3) node{$\Omega^+$};
\draw (3.5,1) node{$\Omega^+$};
\draw[thick, brown, dashed] (1,2.5) -- (4,2.5);
\draw[thick, brown, dashed, domain=0.2:1] plot (\x,{2*(\x -1)^2+2.5});
\draw[thick, brown, dashed, domain=4:4.8] plot (\x,{2*(\x -4)^2+2.5});
\draw[thick, brown, dashed] (1,1.5) -- (4,1.5);
\draw[thick, brown, dashed, domain=0.2:1] plot (\x,{-2*(\x -1)^2+1.5});
\draw[thick, brown, dashed, domain=4:4.8] plot (\x,{-2*(\x -4)^2+1.5});
\draw[very thick] (5,0) -- (5,4);
\draw[blue, thin, dashed] (7.5,2) -- (9.8,2);
\draw[fill=blue,stroke=blue] (7.5,2) circle[radius = 0.05];
\draw[very thick, blue, domain=5.2:7.5] plot (\x,{0.25*(\x-7.5)^2 + 2});
\draw[very thick, blue, domain=5.2:7.5] plot (\x,{-0.25*(\x-7.5)^2 + 2});
\draw[very thick, red, ->] (7.5,2.1) -- (7.5,3);
\draw[very thick, red, ->] (7.5,1.9) -- (7.5,1);
\draw (6.2,2) node{$\Omega^0$};
\draw (8.5,3) node{$\Omega^+$};
\draw (8.5,1) node{$\Omega^+$};
\draw[brown, thick, dashed] (7.5,2.5) -- (9.8,2.5);
\draw[brown, thick, dashed] (7.5,1.5) -- (9.8,1.5);
\draw[thick, brown, dashed, domain=5.2:7.5] plot (\x,{0.25*(\x-7.5)^2 + 2.5});
\draw[thick, brown, dashed, domain=5.2:7.5] plot (\x,{-0.25*(\x-7.5)^2 + 1.5});
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[thick,font=\sffamily,line cap=round,>=stealth,node distance=1em]
\draw[<->](0,5)node[below left]{Loss}|-(7,0)node[below left]{Model complexity};
\draw(.8,5)to[bend right=50]node[pos=.7,above right]{Training loss}(6,.8);
\draw(1.2,5)to[out=-80,in=180](3,3)to[out=0,in=-155]node[pos=.2,below right]{Generalization loss}(6,4);
\draw[loosely dotted](3,0)--(3,5)node[above](P){Optimum};
\path node[base left=of P](U){Underfitting}node[base right=of P](O){Overfitting};
\draw[->]([yshift=1ex]U.north east)--([yshift=1ex]U.north west);
\draw[->]([yshift=1ex]O.north west)--([yshift=1ex]O.north east);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document} \begin{tikzpicture} \node[circle,fill=black,scale=0.5] (a) at (0,0){}; \node[circle,fill=black,scale=0.5] (b) at (-0.707,0.707){}; \node[circle,fill=black,scale=0.5] (c) at (-0.707,-0.707){}; \node[circle,fill=black,scale=0.5] (d) at (1,0){}; \node[circle,fill=black,scale=0.5] (e) at (1.707,0.707){}; \node[circle,fill=black,scale=0.5] (f) at (1,-1){}; \draw[thick,->] (a) -- (b); \draw[thick,->] (a) -- (c); \draw[thick,->] (d) -- (a); \draw[thick,->] (d) -- (e); \draw[dashed,<->,color=blue] (f) -- (d); \end{tikzpicture} \end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{pgfplots}
\usepackage{pgfkeys}
\def\addlegendimage{\csname pgfplots@addlegendimage\endcsname}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xtick={1,2,3,4,5,6,7,8},xticklabels={0, 0.001, 0.01, 0.02, 0.03, 0.05, 0.10, 0.20},xlabel=$\lambda_0$,line width=0.35mm,yticklabels={-0.2, -0.2, 0, 0.2, 0.4},ymin=-0.2,ymax=0.4,ylabel=Relative Accuracy\%,ylabel near ticks,ylabel shift={-5pt}]\addplot[purple,mark=*]coordinates{(1, 0) (2, 0.00) (3, 0.03) (4, 0.05) (5, 0.32) (6, 0.11) (7, 0.02) (8, -0.12)};
\addplot[orange,mark=*]coordinates{(1, 0) (2, 0.05) (3, 0.11) (4, 0.14) (5, 0.13) (6, 0.09) (7, 0.04) (8, -0.07)};
\addplot[olive,mark=*]coordinates{(1, 0) (2, 0.01) (3, 0.05) (4, 0.11) (5, 0.26) (6, 0.28) (7, 0.24) (8, 0.09)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}[every node/.style={font=\footnotesize},ap/.style={isosceles triangle,draw,rotate=90,fill=gray!60,minimum size=.25cm},user/.style={rectangle,draw,fill=gray!40,minimum size=.3cm,rounded corners=.1cm}]
\node[ap,label={left:AP 1}](ap1)at(0,0){};
\node[ap,label={left:AP 2}](ap2)at(3,0){};
\node[ap,label={left:AP 3}](ap3)at(6,0){};
\node[ap,label={below:AP 4}](ap4)at(0,1.3){};
\node[ap,label={below:AP 5}](ap5)at(3,1.3){};
\node[user,label={left:User 1}](u1)at(1.25,.8){};
\node[user,label={right:User 2}](u2)at(5,.6){};
\draw[dashed,->](ap1)--(u1);
\draw[dashed,->](ap4)--(u1);
\draw[dashed,->](ap5)--(u1);
\draw[dashed,->](ap2)--(u2);
\draw[dashed,->](ap5)--(u2);
\draw[dashed,->](ap3)--(u2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\usetikzlibrary{
decorations.markings
}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\catcode`\_=11
\tikzset{
ddbond/.style args={#1}{
draw=none,
decoration={
markings,
mark=at position 0 with {
\coordinate (CF@startdeloc) at (0,\dimexpr#1\CF_doublesep/2)
coordinate (CF@startaxis) at (0,\dimexpr-#1\CF_doublesep/2);
},
mark=at position 1 with {
\coordinate (CF@enddeloc) at (0,\dimexpr#1\CF_doublesep/2)
coordinate (CF@endaxis) at (0,\dimexpr-#1\CF_doublesep/2);
\draw[dash pattern=on 2pt off 1.5pt] (CF@startdeloc)--(CF@enddeloc);
\draw (CF@startaxis)--(CF@endaxis);
}
},
postaction={decorate}
}
}
\catcode`\_=8
\chemfig{A-[,,,,ddbond={+}]B-[,,,,ddbond={-}]C}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}
\begin{document}
\tikz
\draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic ["$\alpha$", draw, angle eccentricity=1] {angle};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\large\setchemfig{atom sep=2em}
\chemfig{A^1-B-C-D}
\vspace{6pt}
\chemfig{E_1-F-G-H}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,->]
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=12pt,inner sep=2pt]
\node[vertex] (G_2) at (0,0) {2};
\node[vertex] (G_3) at (0,1) {1};
\node[vertex] (G_4) at (3,1) {1};
\node[vertex] (G_5) at (4,0) {1};
\node[vertex] (G_6) at (5,1) {1};
\node at (-1,0.5) {{$G = $}};
\node at (2,0.5) {{$H = $}};
\draw (G_2) -- (G_3) -- cycle;
\draw (G_4) -- (G_5) -- (G_6) -- cycle;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\definecolor{mygr}{HTML}{e6e6e6}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
/pgf/number format/1000 sep={},
width=3.8in,
height=1.8in,
at={(0.758in,0.981in)},
scale only axis,
clip=false,
separate axis lines,
axis on top,
xmin=0,
xmax=5,
xtick={1,2,3,4},
x tick style={draw=none},
xticklabels={GREEN,BLUE,GREY,RED},
ytick={0,500,1000, 2000},
ymin=0,
ymax=2000,
ylabel={YYY},
every axis plot/.append style={
ybar,
bar width=.2,
bar shift=0pt,
fill
}
]
\addplot[green] coordinates {(1,500)};
\addplot[blue] coordinates {(2,1000)};
\addplot[mygr] coordinates {(3,1200)};
\addplot[red] coordinates {(4,1800)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=.46]
\begin{axis}[clip=false,axis line style=thick,axis x line=box,axis y line=box,ymin=0,ymax=6.5,xmin=0,xmax=12,xlabel=Time (hours),ylabel=Power (kW)]\draw[fill=red!50,fill opacity=.5](0,0)--(0,500)--(40,500)--(40,0)--cycle;
\draw[ultra thick](10,525)node{$R$}(45,30)node{$d$}(0,0)--(0,500)--(40,500)--(40,0);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node (empty) [scale=.9] {$(0,0,0)$};
\node (1) [below left = .7cm and 1.2cm of empty,scale=.8] {$(1,0,0)$};
\node (2) [right=1.2cm of 1,scale=.8] {$(0,2,0)$};
\node (3) [right=1.2cm of 2,scale=.8] {$(0,0,3)$};
\draw (empty)--(1);
\draw (empty)--(2);
\draw (empty)--(3);
\node (00) [below left = .7cm and 1.2cm of 1,scale=.8] {$(4,0,0)$};
\node (01) [right=.3cm of 00,scale=.6] {$(1,5,0)$};
\node (02) [right=.3 cm of 01,scale=.6] {$(1,0,6)$};
\draw (1)--(00);
\draw (1)--(01);
\draw (1)--(02);
\node (10) [below left = .7cm and .1cm of 2,scale=.6] {$(7,2,0)$};
\node (11) [right=.1cm of 10,scale=.6] {$(0,8,0)$};
\node (12) [right=.1cm of 11,scale=.6] {$(0,2,9)$};
\draw (2)--(10);
\draw (2)--(11);
\draw (2)--(12);
\node (31) [below = .7cm of 3,scale=.6] {$(10,0,3)$};
\node (32) [right=.1cm of 31,scale=.6] {$(0,11,3)$};
\node (33) [right=.1cm of 32,scale=.6] {$(0,0,12)$};
\draw (3)--(31);
\draw (3)--(32);
\draw (3)--(33);
\node (000) [below left = .4cm and .5cm of 00,scale=.6] {$(13,0,0)$};
\node (001) [right=.4cm of 000,scale=.6] {$(4,14,0)$};
\node (002) [right=.4cm of 001,scale=.6] {$(4,0,15)$};
\draw (00)--(000);
\draw (00)--(001);
\draw (00)--(002);
\node (vdots3) [below =.3cm of 32] {$\vdots$};
\node (vdots11) [below =.3cm of 11] {$\vdots$};
\node (vdots02) [below =.3cm of 02] {$\vdots$};
\node (vdots001) [below =.1cm of 001] {$\vdots$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{
every picture/.style={line width=.2pt},
label style/.append style={below,color=teal,font=\scriptsize}
}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmin=-2,xmax=3,ymin=-2.25,ymax=2.25]
\tkzClip[space=.25]
\tkzDefPoint(0,0){A} \tkzDefPoint(2,0.5){B}
\tkzDefPoint(0,-1){C}\tkzDefPoint(2,-0.5){D}
\tkzDefPoint(0,1){E} \tkzDefPoint(2,1.5){F}
\tkzDefPoint(0,-2){G} \tkzDefPoint(2,-1.5){H}
\tkzDrawLine(A,B)
\tkzDrawLine[add = 0 and .5](C,D)
\tkzDrawLine[add = 1 and 0](E,F)
\tkzDrawLine[add = 0 and 0](G,H)
\tkzDrawPoints(A,B,C,D,E,F,G,H)
\tkzLabelPoints(A,B,C,D,E,F,G,H)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) to[short,o-] ++(0.3,0)
to[lowpass,>] ++(2,0)
to[adc,>] ++(2,0)
to[short,-o] ++(0.3,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A(-[:-60]-[:30]C)-[:45]B}\qquad
\chemfig[baseline=5pt]{A(-[:-60]-[:30]C)-[:45]B}\qquad
\chemfig[baseline=-5pt]{A(-[:-60]-[:30]C)-[:45]B}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\draw[step=.5cm] (-1.4,-1.4) grid (1.4,1.4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots, caption, float, xargs, stmaryrd}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\node (mu) at (6, 1) {$\mu$};
\node (nu) at (6, 3) {$\nu$};
\node[right] at (6, 2.2) {$i$};
\draw (mu) to (nu);
\draw (6, 0) to (mu);
\draw (0, 4) to (mu);
\draw (1, 4) to (mu);
\draw (4, 4) to (nu);
\draw (5, 4) to (nu);
\draw (7, 4) to (nu);
\draw (8, 4) to (nu);
\draw (11, 4) to (mu);
\draw (12, 4) to (mu);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}
\foreach \x in {-8,...,0}{
\ifnum\x<0
\coordinate[label=below:\scriptsize$\theta_{\x} \omega$] (\x-0) at (\x, 0);
\fi
\node[shape=circle,fill=black,scale=0.3] (\x-0) at (\x, 0){};
\foreach \y in {1,...,3}{
\ifnum\x=0
\coordinate[label=right:\scriptsize$\y$] (0-\y) at (0, \y);
\fi
\node[shape=circle,fill=black,scale=0.3] (\x-\y) at (\x, \y){};
}
}
\tikzstyle{thickline}=[line width=0.7mm]
\draw[thick, <->] (-8.5, 0) -- (0.5, 0);
\draw[thick, ->] (0, -2pt) node[anchor=north]{\scriptsize$\omega$} -- (0, 3.5);
\draw[thickline] (-8, 1) node[anchor=east]{\scriptsize$m_n(\omega)$} -- (-7, 0);
\draw[thickline] (-7, 0) -- (-6, 1);
\draw[thickline] (-6, 1) -- (-5, 0);
\draw[thickline] (-5, 0) -- (-4, 0);
\draw[thickline] (-4, 0) -- (-3, 1);
\draw[thickline] (-3, 1) -- (-2, 2);
\draw[thickline] (-2, 2) -- (-1, 1);
\draw[thickline] (-1, 1) -- (0, 0);
\draw[-stealth, shorten >=2pt] (-8, 2) -- (-7, 1);
\draw[-stealth, shorten >=2pt] (-7, 1) -- (-6, 2);
\draw[-stealth, shorten >=2pt] (-6, 2) -- (-5, 1);
\draw[-stealth, shorten >=2pt] (-5, 1) -- (-4, 2);
\draw[-stealth, shorten >=2pt] (-4, 2) -- (-3, 3);
\draw[-stealth, shorten >=2pt] (-2, 3) -- (-1, 2);
\draw[-stealth, shorten >=2pt] (-1, 2) -- (0, 1);
\draw[-stealth, shorten >=2pt] (-8, 3) -- (-7, 2);
\draw[-stealth, shorten >=2pt] (-7, 2) -- (-6, 3);
\draw[-stealth, shorten >=2pt] (-5, 2) -- (-4, 3);
\draw[-stealth, shorten >=2pt] (-1, 3) -- (0, 2);
\draw[-stealth, shorten >=2pt] (-4, 1) -- (-3, 2);
\draw[-stealth, shorten >=2pt] (-3, 2) -- (-2, 3);
\draw[-stealth, shorten >=2pt] (-2, 1) -- (-1, 0);
\draw[-stealth, shorten >=2pt] (-8, 0) -- (-7, 0);
\draw[-stealth, shorten >=2pt] (-7, 0) -- (-6, 0);
\draw[-stealth, shorten >=2pt] (-6, 0) -- (-5, 0);
\draw[-stealth, shorten >=2pt] (-4, 0) -- (-3, 0);
\draw[-stealth, shorten >=2pt] (-3, 0) -- (-2, 0);
\draw[-stealth, shorten >=2pt] (-2, 0) -- (-1, 0);
\draw[-stealth, shorten >=2pt] (-1, 0) -- (0, 0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill] (0,0) circle(0.05);
\draw[fill] (2,0) circle(0.05);
\draw[fill] (1,1.5) circle(0.05) node[left]{$v$};
\draw[fill] (4,0) circle(0.05);
\draw[fill] (3,1.5) circle(0.05);
\draw (1,1.5)--(0,0)--(2,0);
\draw (2,0)--(4,0)--(3,1.5);
\draw (1,1.5) arc(180:247.38:1.625);
\draw (3,1.5) arc(0:-67.38:1.625);
\begin{scope}[shift={(7,0)}]
\draw[fill] (0,0) circle(0.05);
\draw[fill] (2,0) circle(0.05);
\draw[fill] (1,1.5) circle(0.05) node[left]{$v$};
\draw[fill] (4,0) circle(0.05);
\draw[fill] (3,1.5) circle(0.05);
\draw (1,1.5)--(0,0)--(2,0);
\draw (2,0)--(4,0)--(3,1.5);
\draw (1,1.5) arc(180:247.38:1.625);
\draw (3,1.5) arc(0:-67.38:1.625);
\draw[fill] (2,2) circle(0.05);
\draw[fill] (1.5,2.5) circle(0.05);
\draw[fill] (1,2) circle(0.05);
\draw[semithick] (1,1.5)--(2,2);
\draw[semithick] (1,1.5)--(1,2);
\draw[semithick] (1,2)--(2,2);
\draw[semithick] (1.5,2.5)--(2,2);
\draw[semithick] (1,2)--(1.5,2.5);
\draw[semithick] (2.5,2) circle(0.5);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\draw[ultra thick](-1.5,0)--(-.75,0);
\draw[ultra thick](-.75,0)--(.75,0);
\draw[ultra thick](.75,0)--(1.5,0);
\draw[ultra thick](0,-1.5)--(0,-.75);
\draw[ultra thick](0,-.75)--(0,.75);
\draw[ultra thick](0,.75)--(0,1.5);
\node at(.2,.2){$\vec n$};
\node[right]at(0,-1){$j(\vec n;
\hat 4)$};
\node[above]at(1,0){$j(\vec n;
\hat 1)$};
\node[above]at(-1,0){$j(\vec n;
\hat 3)$};
\node[right]at(0,1){$j(\vec n;
\hat 2)$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{forest}
\usetikzlibrary{positioning}
\begin{document}
\begin{forest}
for tree={grow=0, l=3cm, anchor=west, child anchor=west, s sep+=10pt}
[{$(1, 1)$}, name=t0
[{$(\frac{1}{2}, \frac{1}{2})$}
[{$(\frac{1}{4}, \frac{1}{4})$}, name=bot]
[{$(1,1)$}]
]
[{$(2, 2)$}, name=t1
[{$(1,1)$}]
[{$(4,4)$}, name=t2]
]
]
\coordinate [below=of bot] (c);
\foreach \i in {0,1,2} \node at (c -| t\i) {$t=\i$};
\end{forest}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,positioning,shadows,trees}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english, frenchb]{babel}
\usepackage{ucs}
\usepackage{smartdiagram}
\usepackage{lmodern}
\tikzset{
basic/.style = {draw, text width=12em, drop shadow, font=\sffamily, rectangle},
root/.style = {basic, rounded corners=2pt, thin, align=center,
fill=cyan!30},
level 2/.style = {basic, rounded corners=6pt, thin, align=center, fill=cyan!60,
text width=4em},
level 3/.style = {basic, thin, align=center, fill=pink!60, text width=6.5em}
}
\begin{document}
\begin{tikzpicture}[font=\sffamily,
level 1/.style={sibling distance=30mm},
edge from parent/.style={->,draw},
>=latex]
\node[root] (c) {Indicateur \mbox{d'insécurité} alimentaire}
child {node[level 2] (c1) {SCA}}
child {node[level 2] (c2) {PDA}}
child {node[level 2] (c3) {ISS}};
\begin{scope}[every node/.style={level 3}]
\node [below = of c2, text width=6cm, draw](c21) {Cartographie de \mbox{l’insécurité} alimentaire};
\node [below = of c21, text width=4cm, draw](c22) {Analyse statistique bivariée};
\node [below = of c22, text width=4cm, draw](c23) {ACM suivie d'une CAH};
\node [below = of c23, text width=2cm, draw](c24) {GLOGIT2};
\end{scope}
\foreach \i/\j in {c2/c21, c21/c22, c23/c24}
\draw[cyan, line width=1mm, >=latex, shorten >=.5mm, shorten <=1mm, ->] (\i)--(\j);
\begin{scope}[every node/.style={text width=4cm, ellipse, draw, align=center,
font=\sffamily, top color=white, bottom color=black!40}]
\node[right = 2cm of c] (d1) {Estimer le niveau d'insécurité alimentaire};
\node (d2) at (c21-|d1) {Où sont les ménages en insécurité alimentire?};
\path (c22)--coordinate (aux) (c23) ;
\node (d3) at (aux-|d1) {Caractériser les ménages eninsécurité alimentaire};
\node (d4) at (c24-|d1) {Analyser les déterminants de l'insécurité alimentire};
\end{scope}
\begin{scope}[line width=.5mm, >=latex, shorten >=1mm, shorten <=1mm, ->]
\draw (c) -- (d1);
\draw (c21) -- (d2);
\draw (c22.east) --++(0:5mm)|- (d3);
\draw (c23.east) --++(0:5mm)|- (d3);
\draw (c24) -- (d4);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=0:6.2832,samples=200,legend style={overlay,at={(-0.5,0.5)},anchor=center},every axis plot post/.append style={mark=none},enlargelimits=false]\addplot {sin(deg(x)+3)+rand*0.05};
\addplot {cos(deg(x)+2)+rand*0.05};
\legend{Signal 1,Signal 2}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\fboxsep=1pt
\renewcommand*\printatom[1]{\fbox{\ensuremath{\mathrm{#1}}}}
\chemfig{H_3C-C(=[:30]O)(-[:-30]OH)}
\end{document}