AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[height=4cm,width=9cm,line width=.5pt,ymin=130,ymax=220,xmin=-5.5,xmax=205.5,ylabel=Mean Pixel Brightness,ylabel shift=-5pt,ylabel near ticks,xtick={0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200},xticklabel style={rotate=45,anchor=east},xtick pos=left,ytick pos=left,title=Change in Pixel Brightness of Forehead,xlabel={Training Iteration},legend style={at={(.35,0.01)},anchor=south west,nodes={scale=.7,transform shape}}]\addplot[thick,solid,mark=*,color=red] coordinates {(0,175.90829386060895)(10,168.0608334702538)(20,170.62576500362366)(30,179.5250972135718)(40,189.24381915282493)(50,195.16036259102034)(60,197.97903651256422)(70,199.104747384818)(80,199.27876381782815)(90,198.5590968085418)(100,197.5590917138246)(110,196.4951409135083)(120,194.75792750962816)(130,193.53896138954448)(140,192.04948941027652)(150,190.76841053881873)(160,189.14246893012685)(170,188.43231343935912)(180,187.60257300198992)(190,185.94004041525912)(200,185.4518746648631)};
\addplot[thick,densely dashed,mark=square*,color=violet] coordinates {(0,134.83622447217775)(10,133.4404425398047)(20,141.60304469866264)(30,154.53630502237152)(40,166.4892920392025)(50,174.99776390406984)(60,179.88088930796602)(70,181.63547901290426)(80,181.8952988426283)(90,181.39663183205528)(100,180.9457107198002)(110,179.8097662353038)(120,178.95938945349198)(130,177.96160088400842)(140,176.67310035217753)(150,175.83064241940008)(160,174.4318445828977)(170,173.61458519267762)(180,172.62753260404534)(190,171.6116562826713)(200,171.12071359155905)};
\addplot[thick,dashed,mark=square*,color=orange] coordinates {(0,177.64310523907218)(10,188.4556216288481)(20,197.44919886703494)(30,205.94751797343008)(40,211.6391508730137)(50,213.27453514306728)(60,213.8336025617571)(70,212.96075363198878)(80,212.1691892005166)(90,210.91847605426463)(100,208.90981614054942)(110,206.8574375456767)(120,205.78867033914068)(130,204.38807205593056)(140,202.4680243294853)(150,200.97641312974935)(160,199.47921725486498)(170,197.37971599883696)(180,196.14868935637404)(190,194.76548686474976)(200,193.382036834757)};
\addplot[thick,dotted,mark=triangle*,color=black] coordinates {(0,185.71799622045762)(10,197.2721187058519)(20,203.38006097944927)(30,209.81435179179286)(40,213.77912284574805)(50,214.91814354826352)(60,214.50974487126086)(70,213.9985567674031)(80,211.90938528360434)(90,210.2426160677373)(100,208.5272396476913)(110,206.90417053054165)(120,205.02015427887244)(130,202.9291033585607)(140,200.92329853353002)(150,199.3979173809562)(160,198.2356561070702)(170,196.74927957427195)(180,194.4691706877813)(190,192.91959228160763)(200,191.4009593915365)};
\legend{Asian,Black,Latina/o,White}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{hyperref,amsmath,amssymb}
\usepackage{tikz,comment}
\usetikzlibrary{automata, arrows.meta, positioning,decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[scale=.65]
\node[draw,circle,fill=black!10] (s0) at (0,0) {$0$};
\node[draw,circle] (s1) at (2,0) {$1$};
\node[draw,circle,accepting] (s2) at (4,0) {$2$};
\node[draw,circle,accepting] (s3) at (6,0) {$3$};
\draw[->] (s0) -- node[below]{$b$} (s1);
\draw[->] (s1) -- node[below]{$b$} (s2);
\draw[->] (s2) -- node[below]{$b$} (s3);
\draw[->] (s3) edge[bend right=30] node[above]{$b$} (s0);
\node[draw,circle,fill=black!10] (t0) at (0,-2.2) {$\alpha$};
\node[draw,circle] (t1) at (2,-2.2) {$\beta$};
\node[draw,circle,accepting] (t2) at (4,-2.2) {$\gamma$};
\draw[->] (t0) -- node[below]{$b$} (t1);
\draw[->] (t1) -- node[below]{$b$} (t2);
\draw[->] (t2) edge[bend right=30] node[above]{$b$} (t0);
\node[draw,circle,fill=black!10] (p00) at (8,-2) {\tiny $0,\alpha$};
\node[draw,circle] (p11) at (10,-2) {\tiny$1,\beta$};
\node[draw,circle,accepting] (p22) at (12,-2) {\tiny$2,\gamma$};
\node[draw,circle,accepting] (p30) at (14,-2) {\tiny$3,\alpha$};
\node[draw,circle] (p01) at (16,-2) {\tiny$0,\beta$};
\node[draw,circle,accepting] (p12) at (18,-2) {\tiny$1,\gamma$};
\node[draw,circle,accepting] (p32) at (8,0) {\tiny $3,\gamma$};
\node[draw,circle,accepting] (p21) at (10,0) {\tiny$2,\beta$};
\node[draw,circle] (p10) at (12,0) {\tiny$1,\alpha$};
\node[draw,circle,accepting] (p02) at (14,0) {\tiny$0,\gamma$};
\node[draw,circle,accepting] (p31) at (16,0) {\tiny$3,\beta$};
\node[draw,circle,accepting] (p20) at (18,0) {\tiny$2,\alpha$};
\draw[->] (p00) -- node[below]{$b$} (p11);
\draw[->] (p11) -- node[below]{$b$} (p22);
\draw[->] (p22) -- node[below]{$b$} (p30);
\draw[->] (p30) -- node[below]{$b$} (p01);
\draw[->] (p01) -- node[below]{$b$} (p12);
\draw[->] (p12) -- node[right]{$b$} (p20);
\draw[->] (p20) -- node[above]{$b$} (p31);
\draw[->] (p31) -- node[above]{$b$} (p02);
\draw[->] (p02) -- node[above]{$b$} (p10);
\draw[->] (p10) -- node[above]{$b$} (p21);
\draw[->] (p21) -- node[above]{$b$} (p32);
\draw[->] (p32) -- node[left]{$b$} (p00);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\setchemfig{bond style={line width=3pt}}
\chemfig{-[1]-[7]} et
\chemfig[bond join=true]{-[1]-[7]}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\tikz
\node [circle,draw,label=60:$60^\circ$,label=below:$-90^\circ$] {my circle};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\begin{scope}[transparency group]
\begin{scope}[blend mode=multiply]
\path +(3,3) coordinate (IItopright) +(-3,3) coordinate (IItopleft) +(3,-3) coordinate (IIbotright) +(-3,-3) coordinate(IIbotleft);
\draw(IItopleft) -- node[midway, above, sloped] {$\mathcal{J}^+$} (IItopright) -- node[midway, above, sloped] {Observer} (IIbotright)-- node[midway, below, sloped] {$\mathcal{J}^-$} (IIbotleft) -- node[midway, above, sloped] {Observer}(IItopleft) -- cycle;
\fill[fill=blue!10] (-3,3) -- (-3,-3) -- (0,0);
\fill[fill=blue!10] (3,3) -- (3,-3) -- (0,0);
\draw[dotted, thick] (-1.7,0.538) -- (-3,1.838);
\draw[domain=-3:-1.7, smooth, variable=\x, red] plot ({\x}, {sin(deg((\x/2-1)))+1.5});
\draw[domain=-1.7:3, smooth, variable=\x, black, dashed] plot ({\x}, {sin(deg((\x/2-1)))+1.5});
\node at (-2.4,0.8) [label = below:\footnotesize{\color{red}$\Sigma_A$}]{};
\node at (-1.7,0.538) [circle, fill, inner sep=1.5 pt, label = below:\footnotesize{$A$}]{};
\node at (-2.4,1.1) [label = above:\footnotesize{$L$}]{};
\draw (IItopleft) -- node[midway, above, sloped] {$H_{\rm L}$} (0,0)-- node[midway, above, sloped] {$H_{\rm R}$} (IIbotright) (IItopright) --node[midway, above, sloped] {$H_{\rm R}$} (0,0) -- node[midway, above, sloped] {$H_{\rm L}$} (IIbotleft);
\node at (0,1.6) [label=below:$\Sigma$]{};
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\node [below] at (0,0) {$a$};
\draw [fill] (0,0) circle [radius=0.05];
\node [below] at (2,0) {$b$};
\draw [fill] (2,0) circle [radius=0.05];
\node [left] at (1,1) {};
\draw [fill] (1,1) circle [radius=0.05];
\node [left] at (2,2) {};
\draw [fill] (2,2) circle [radius=0.05];
\node [right] at (3,3) {$d$};
\draw [fill] (3,3) circle [radius=0.05];
\draw [fill] (4,0) circle [radius=0.05];
\node [below] at (4,0) {$c$};
\draw (0,0)--(1,1) --(2,2) node [midway, above left ] {$\alpha$}--(3,3);
\draw (1,1)--(2,0);
\draw (2,2)--(4,0);
\node at (2,-1){$D_j$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path (1,1) coordinate (A);
\draw (1,0) -- (A) -- (2,1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}

\begin{tikzpicture}
\begin{axis}
\addplot+ [name path=A,domain=0:5] {x^2};

\path [name path=B]
(\pgfkeysvalueof{/pgfplots/xmin},0) --
(\pgfkeysvalueof{/pgfplots/xmax},0);

\addplot [gray] fill between [
of=A and B,soft clip={domain=3:4},
];
\addplot [gray!30] fill between [
of=A and B,soft clip={domain=2:3},
];
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\tikzset{cdlabel/.style={above,sloped, execute at begin node=$\scriptstyle,execute at end node=$}
}\tikzset{algarrow/.style={->, thick}
}\tikzset{blgarrow/.style={->, thick}
}\tikzset{clgarrow/.style={->, thick}
}\tikzset{tensoralgarrow/.style={double, double equal sign distance, -implies}
}\tikzset{tensorblgarrow/.style={double, double equal sign distance, -implies}
}\tikzset{tensorclgarrow/.style={double, double equal sign distance, -implies}
}\tikzset{tensorelgarrow/.style={double, double equal sign distance, -implies}
}\tikzset{modarrow/.style={->, dashed}
}\tikzset{Amodar/.style={->, dashed}
}\tikzset{Dmodar/.style={->, dashed}
}\tikzset{DAmodar/.style={->, dashed}
}
\begin{document}
\begin{tikzpicture}
\node at (0,0) (tcblank) {};
\node at (0,-1) (finfty) {$f_\infty$};
\node at (1,-1.5) (Delta) {$\Delta$};
\node at (0,-2) (delta) {$\delta$};
\node at (-1,-2.5) (IdE) {$\pi$};
\node at (-2,-3) (lwrap) {};
\node at (3,-3) (rwrap) {};
\node at (0,-3.5) (bcblank) {};
\node at (1,-3.5) (brblank) {};
\node at (2,-3.5) (brrblank) {};
\draw[DAmodar] (tcblank) to (finfty);
\draw[DAmodar] (finfty) to (delta);
\draw[DAmodar] (delta) to (bcblank);
\draw[tensoralgarrow] (finfty) to (Delta);
\draw[tensoralgarrow] (Delta) to (brblank);
\draw[tensoralgarrow] (Delta) to (delta);
\draw[tensoralgarrow] (delta) to (IdE);
\draw[tensoralgarrow] (IdE) to (lwrap);
\draw[tensoralgarrow] (rwrap) to (brrblank);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R] ++(2,0)
[dashed, red] -- ++(1,0)
to [R] ++(2,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{*5(-B=C-D)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}[]
\begin{axis}[
axis lines=middle,
title=Undecorated Graphics,
xmin=-2, xmax=2, ymin=-2, ymax=2,
xtick={-1,1}, ytick={-1,1},
yticklabel=\ ,
extra description/.code={
\node [below left] at (axis cs:0,-1) {$-1$};
\node [above left] at (axis cs:0,1) {$1$};
},
axis line style={->},
]
\addplot [blue,samples=100,domain=0:2*pi]
({sin(deg(2*x))}, {sin(deg(x))});
\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}
\chemfig{A-B(-[1]W-X?)(-[7]Y-Z?)-C?}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[x=2cm,y=0.5cm,scale=1]
\draw[thick] (-2,2) -- (-1,2);
\draw[densely dotted, thick] (-1,2) -- (0,2);
\draw[densely dotted, thick] (-0.5,4) -- (0,2);
\draw[densely dotted, thick] (-0.5,4) -- (-1,2);
\draw[densely dotted, thick] (-1.5,0) -- (-0.5,0);
\draw[densely dotted, thick] (-0.5,0) -- (-1,-2);
\draw[densely dotted, thick] (-1.5,0) -- (-1,-2);
\draw[thick] (0,2) -- (-0.5,0);
\draw[thick] (-0.5,0) -- (0.5,0);
\draw[thick] (0,2) -- (0.5,0);
\draw[thick] (-2,2) -- (-1.5,0);
\draw[thick] (-1.5,0) -- (-1,2);
\draw[densely dotted, thick] (0.5,0) -- (1.5,0);
\draw[densely dotted, thick] (1.5,0) -- (1,-2);
\draw[densely dotted, thick] (0.5,0) -- (1,-2);
\draw[thick] (-1,-1.95) -- (1,-1.95);
\draw[thick] (-1,-2.05) -- (1,-2.05);
\node[above=4pt] (beta4) at (-0.5,4) {$\beta_4$};
\shade [ball color=black] (-0.5,4) circle (3pt);
\node [left=5pt] (beta1) at (-2,2) {$\beta_1$};
\shade [ball color=white] (-2,2) circle (3pt);
\node[=5pt](alpha4) at (-1.2,2.4) {$\alpha_4$};
\shade[ball color=black] (-1,2) circle (3pt);
\node[right=4pt] (c4) at (0,2) {$c_4$};
\shade [ball color=black] (0,2) circle (3pt);
\node[left=4pt] (c2) at (-1.5,0) {$c_2$};
\shade [ball color=black] (-1.5,0) circle (3pt);
\node[below=4pt] (alpha2) at (-0.3,0.1) {$\alpha_2$};
\shade [ball color=black] (-0.5,0) circle (3pt);
\node[below=4pt] (beta3) at (0.4,0.1) {$\beta_3$};
\shade [ball color=black] (0.5,0) circle (3pt);
\node[right=4pt] (c3) at (1.5,0) {$c_3$};
\shade [ball color=white] (1.5,0) circle (3pt);
\node[left=4pt] (beta2) at (-1,-2) {$\beta_2$};
\shade [ball color=black] (-1,-2) circle (3pt);
\node[right=4pt] (alpha3) at (1,-2) {$\alpha_3$};
\shade [ball color=black] (1,-2) circle (3pt);
\node[above=4pt] (beta4) at (-0.5,4) {$\beta_4$};
\shade [ball color=white] (-0.5,4) circle (3pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=0.8,transform shape]
\draw(0,0)node[npn]{T1}++(1.2,0)node[npn,xscale=-1]{\ctikzflipx{T1}}++(2,0)node[npn,yscale=-1]{\ctikzflipy{T1}}++(1.2,0)node[npn,scale=-1]{\ctikzflipxy{T1}};
\ctikzset{legacy transistors text}\draw(0,-2)node[npn]{T1}++(1.2,0)node[npn,xscale=-1]{\ctikzflipx{T1}}++(2,0)node[npn,yscale=-1]{\ctikzflipy{T1}}++(1.2,0)node[npn,scale=-1]{\ctikzflipxy{T1}};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles}
\tikzset{>=stealth}
\begin{document}
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B)
-- (-1,-1) coordinate (C)
pic [fill=black!50] {angle = A--B--C}
pic [draw,->,red,thick,angle radius=1cm] {angle = C--B--A};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=10,ymin=-5,ymax=5,name=border]
\end{axis}
\node[draw=black,thick,rounded corners=2pt,below left=2mm] at (border.north east) {
\begin{tabular}{@{}r@{ }l@{}}
\raisebox{2pt}{\tikz{\draw[black] (0,0) -- (5mm,0);}}&black\\
\raisebox{2pt}{\tikz{\draw[red] (0,0) -- (5mm,0);}}&red\\
\raisebox{2pt}{\tikz{\draw[green] (0,0) -- (5mm,0);}}&green\\
\raisebox{2pt}{\tikz{\draw[blue] (0,0) -- (5mm,0);}}&blue
\end{tabular}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,color,bm, float}
\usepackage{amsfonts, xcolor}
\usepackage{amsthm,amssymb,mathabx,relsize}
\usepackage{pgfplots}
\pgfplotsset{compat=newest,compat/show suggested version=false}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[>=stealth]
\begin{axis}[xmin=0,xmax=1,ymin=0,ymax=4,axis x line=middle,axis y line=middle,axis line style=->,x label style={at={(axis description cs:0.5,-0.1)},anchor=north},y label style={at={(axis description cs:-0.1,.5)},rotate=90,anchor=south},xlabel={$p$},ylabel={$\sigma^2(K_{1,2};
p)$}]\addplot[no marks,blue] expression[domain=0:1,samples=500]{(1/x-1)*(29^2/16^3)};
\addplot[no marks,red] expression[domain=0:1,samples=500]{(9^2/16^3)*((x*(1-x)^3)/(x^2*(1-x)+x)^2)*(1+3*x)^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\ctikzset{logic ports/scale=0.7}\def\coorda(#1)<#2>{node[circle,red,draw,inner sep=1pt,pin={[red,overlay,inner sep=0.5pt,font=\small,pin distance=0.1cm,pin edge={red,overlay,}]#2:#1}](#1){}}\draw(0,0)node[european and port](A){};
\foreach \a/\d in {left/45,right/45,center/-90}\path(A.\a)\coorda(\a)<\d>;
\draw(3,0)node[european and port](A){};
\foreach \a/\d in {bin 1/-135,bin 2/-135,bout/-45}\path(A.\a)\coorda(\a)<\d>;
\draw(6,0)node[european nand port](A){};
\foreach \a/\d in {bin 1/-135,bin 2/-135,bout/-45}\path(A.\a)\coorda(\a)<\d>;
\ctikzset{tripoles/european not symbol=circle}\draw(9,0)node[european nand port](A){};
\foreach \a/\d in {bin 1/-135,bin 2/-135,bout/-45}\path(A.\a)\coorda(\a)<\d>;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[thick,level 1/.style={sibling distance=15mm},level 2/.style={sibling distance=10mm}]
\coordinate child[red]{child child}child[green]{child child[blue]};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{mathptmx}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline=(p)]
\coordinate (b) at (3/2,3/4);
\coordinate (i) at (0,0);
\coordinate (j) at (1,0);
\coordinate (k) at (2,0);
\coordinate (a) at (1,3/2);
\coordinate (l) at (1,2);
\draw[-] (i) node[below=1mm] {$i$} -- (a) -- (l) node[above=1mm] {$l$};
\draw[-] (j) node[below=1mm] {$j$} -- (b) -- node[midway,below left=-1mm] (p) {$p$} (a);
\draw[-] (k) node[below=1mm] {$k$}-- (b);
\draw[fill] (a) circle (2pt) node[right=1mm] {$\alpha$};
\draw[fill] (b) circle (2pt) node[right=1mm] {$\beta$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

\usepackage{tikz}

\newcommand{\POINTILLE}[4]{
\draw[thick,dotted] (#1,#2) to (#3,#4);
}

\newcommand{\LIGNE}[4]{
\draw[thick] (#1,#2) to (#3,#4);
}

\newcommand{\gSOM}[4]{
\node[scale=0.7,draw,circle,fill=lightgray] at (#1,#2){};
\node[above] at (#1,#2+0.2){#3};
\node[below] at (#1,#2-0.2){#4};
}

\newcommand{\SOM}[4]{
\node[scale=0.7,draw,circle,fill=white] at (#1,#2){};
\node[above] at (#1,#2+0.2){#3};
\node[below] at (#1,#2-0.2){#4};
}

\newcommand{\bSOM}[4]{
\node[scale=0.7,draw,circle,fill=black] at (#1,#2){};
\node[above] at (#1,#2+0.2){#3};
\node[below] at (#1,#2-0.2){#4};
}

\begin{document}

  \begin{tikzpicture}[scale=0.5]
    \node[above] at (0,0.2){$f$};
    \node[below] at (0,-0.2){$g$};

    \POINTILLE{0}{0}{1}{0}   \LIGNE{1}{0}{27}{0}   \POINTILLE{27}{0}{28}{0}
    \foreach \k in {2,8,14,20} \draw[thick] (\k,0) .. controls (\k+1,2) and (\k+5,2) .. (\k+6,0);
    \foreach \k in {1,2,...,27} \gSOM{\k}{0}{}{};
    \SOM{1}{0}{}{ }
    \bSOM{2}{0}{}{4}   \node[above] at (2,0.5) {7};
    \bSOM{7}{0}{}{2}
    \bSOM{12}{0}{}{1}
    \SOM{17}{0}{}{ }
    \SOM{18}{0}{}{ }
    \SOM{19}{0}{}{ }
    \SOM{23}{0}{}{ }
    \SOM{24}{0}{}{ }
    \SOM{25}{0}{}{ }
    \SOM{27}{0}{}{ }
    \node[below] at (14,-2){(a) Item 1: $f(v_i)=7$ and $a=6$ (so that $d=2$)};
  \end{tikzpicture}

\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\clip(-5.5,1.3) rectangle (9.52,4.34);
\draw (-2.96,2.74)-- (-1.86,2.74);
\draw (-2.4,3.72)-- (-1.86,2.74);
\draw (-2.4,3.72)-- (-2.96,2.74);
\draw (-0.94,3.72)-- (-0.4,2.74);
\draw (0.06,2.74)-- (1.08,2.74);
\draw (0.54,3.72)-- (1.08,2.74);
\draw (0.54,3.72)-- (0.06,2.74);
\draw (-0.4,2.74)-- (0.06,2.74);
\draw (3.64,2.7)-- (4.66,2.7);
\draw (4.1,3.68)-- (4.66,2.7);
\draw (4.1,3.68)-- (3.64,2.7);
\draw (5.08,3.68)-- (5.62,2.7);
\draw (6.58,2.7)-- (7.6,2.7);
\draw (7.04,3.68)-- (7.6,2.7);
\draw (7.04,3.68)-- (6.58,2.7);
\draw (5.62,2.7)-- (6.58,2.7);
\draw (-1.44,2.4) node[anchor=north west] {$R_{12,4}$};
\draw (5.02,2.28) node[anchor=north west] {$R_{12,5}$};
\draw (4.66,2.7)-- (5.62,2.7);
\draw (6.06,3.68)-- (5.62,2.7);
\draw (6.06,3.68)-- (5.08,3.68);
\draw (-0.94,3.72)-- (-1.38,2.74);
\draw (-1.38,2.74)-- (-0.4,2.74);
\draw (-2.4,3.08)-- (-2.96,2.74);
\draw (-2.4,3.08)-- (-2.4,3.72);
\draw (-2.4,3.08)-- (-1.86,2.74);
\draw (-1.38,2.74)-- (-0.92,3.1);
\draw (-0.92,3.1)-- (-0.94,3.72);
\draw (-0.92,3.1)-- (-0.4,2.74);
\draw (0.06,2.74)-- (0.56,3.1);
\draw (0.56,3.1)-- (0.54,3.72);
\draw (0.56,3.1)-- (1.08,2.74);
\draw (3.64,2.7)-- (4.14,3.06);
\draw (4.14,3.06)-- (4.66,2.7);
\draw (4.14,3.06)-- (4.1,3.68);
\draw (5.62,2.7)-- (5.58,3.32);
\draw (5.58,3.32)-- (6.06,3.68);
\draw (5.58,3.32)-- (5.08,3.68);
\draw (7.06,3.08)-- (6.58,2.7);
\draw (7.06,3.08)-- (7.04,3.68);
\draw (7.06,3.08)-- (7.6,2.7);
\draw [shift={(5.62,3.98)}] plot[domain=4.07:5.36,variable=\t]({1.6*cos(\t r)},{1.6*sin(\t r)});
\begin{scriptsize}
\draw [fill=black] (-2.4,3.72) circle (2.5pt);
\draw [fill=black] (-1.86,2.74) circle (2.5pt);
\draw [fill=black] (-2.96,2.74) circle (2.5pt);
\draw [fill=black] (-0.94,3.72) circle (2.5pt);
\draw [fill=black] (-0.4,2.74) circle (2.5pt);
\draw [fill=black] (0.54,3.72) circle (2.5pt);
\draw [fill=black] (1.08,2.74) circle (2.5pt);
\draw [fill=black] (0.06,2.74) circle (2.5pt);
\draw [fill=black] (4.1,3.68) circle (2.5pt);
\draw [fill=black] (4.66,2.7) circle (2.5pt);
\draw [fill=black] (3.64,2.7) circle (2.5pt);
\draw [fill=black] (5.08,3.68) circle (2.5pt);
\draw [fill=black] (5.62,2.7) circle (2.5pt);
\draw [fill=black] (7.04,3.68) circle (2.5pt);
\draw [fill=black] (7.6,2.7) circle (2.5pt);
\draw [fill=black] (6.58,2.7) circle (2.5pt);
\draw [fill=black] (6.06,3.68) circle (2.5pt);
\draw [fill=black] (-1.38,2.74) circle (2.5pt);
\draw [fill=black] (-2.4,3.08) circle (2.5pt);
\draw [fill=black] (-0.92,3.1) circle (2.5pt);
\draw [fill=black] (0.56,3.1) circle (2.5pt);
\draw [fill=black] (4.14,3.06) circle (2.5pt);
\draw [fill=black] (5.58,3.32) circle (2.5pt);
\draw [fill=black] (7.06,3.08) circle (2.5pt);
\end{scriptsize}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
y=1.5cm,
]
\addplot+ [
boxplot prepared={
lower whisker=5,
lower quartile=7,
median=8.5,
upper quartile=9.5,
upper whisker=10,
},
]
table [row sep=\\,y index=0] {
data\\ 1\\ 3\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,name path=A,domain=0:5] {x^2};
\addplot [red,name path=B,smooth] table {
x y
0 10
1 8
2 6
3 1
4 5
};
\addplot [gray!50] fill between [
of=A and B,
soft clip={domain=3:4},
];
\addplot [gray!10,draw=black] fill between [
of=A and B,
soft clip={domain=1:2.5},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
fillbetween,
decorations.softclip,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [name path=A,domain=0:5,
postaction={decorate,red,thick},
decoration={
soft clip,
soft clip path={domain=3:5},
},
] {x^2};
\path [name path=B]
(\pgfkeysvalueof{/pgfplots/xmin},0) --
(\pgfkeysvalueof{/pgfplots/xmax},0);
\addplot [orange] fill between [
of=A and B,
soft clip={
(3,-1) rectangle (5,100)
},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ymin=0,ymax=1,enlargelimits=false]
\addplot [
const plot,
fill=blue,
draw=black,
] coordinates {
(0,0.1) (0.1,0.15) (0.2,0.5) (0.3,0.62)
(0.4,0.56) (0.5,0.58) (0.6,0.65) (0.7,0.6)
(0.8,0.58) (0.9,0.55) (1,0.52)
}
\closedcycle
;
\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}
\chemfig{*6(--(-*5(----(-*4(----))-))----)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt,cram width=2pt}
\begin{document}
\chemfig{AB*5(-CDE-[,,1]F-[,,,1]GH-I-)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate[label=left:$A$](A)at(0,0);
\coordinate[label=right:$B$](B)at(1.25,0.25);
\draw(A)--(B);
\node[fill=red,inner sep=1pt,label=below:$X$](X)at($(A)!.5!(B)$){};
\node[fill=red,inner sep=1pt,label=above:$D$](D)at($(X)!{sin(60)*2}!90:(B)$){};
\draw(A)--(D)--(B);
\end{tikzpicture}
\end{document}