AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb, amsmath,amsthm,latexsym,amsfonts,enumerate}
\usepackage{tikz}
\usepackage{tikz-cd}
\usepackage{tikz-layers}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{calc,arrows,decorations.pathmorphing,backgrounds,fit,positioning,shapes.symbols,chains}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{decorations.pathreplacing,angles,quotes}
\usetikzlibrary{positioning,shadows,arrows,trees,fit}
\usetikzlibrary{mindmap}
\usepackage{xcolor}
\tikzset{->-/.style={decoration={markings,mark=at position #1 with {\arrow{>}
}},postaction={decorate}}}\tikzset{-<-/.style={decoration={markings,mark=at position #1 with {\arrow{<}
}},postaction={decorate}}}\tikzset{dot/.style = {circle, fill, minimum size=#1, inner sep=0pt, outer sep=0pt}
, dot/.default = 5pt}
\begin{document}
\begin{tikzpicture}[scale = .45]
\begin{pgfonlayer}{above}\node [dot, blue] (0) at (0, 0) {};
\node [dot, blue] (1) at (-1, 0) {};
\node [dot, blue] (2) at (-2, 0) {};
\node [dot, blue] (3) at (-3, 0) {};
\node [dot, red] (4) at (1, 0) {};
\node [dot, red] (5) at (2, 0) {};
\node [dot, red] (6) at (3, 0) {};
\node [dot, blue] (7) at (-2.25, 3) {};
\node [dot, blue] (8) at (-0.75, 3) {};
\node [dot, red] (9) at (1, 3) {};
\node [dot, blue] (10) at (0, -3) {};
\node [dot, blue] (11) at (-1.5, -3) {};
\node [dot, blue] (12) at (-3, -3) {};
\node [dot, red](13) at (1.5, -3) {};
\node [dot, red] (14) at (3, -3) {};
\end{pgfonlayer}
\begin{pgfonlayer}
{background}\draw[dashed, gray](.5, 3.5)--(0.5, -3.5);
\draw [bend right=15] (7.center) to (3.center);
\draw [bend right] (8.center) to (2.center);
\draw [bend left] (9.center) to (6.center);
\draw [bend right=15, looseness=1.25] (2.center) to (11.center);
\draw [bend right=90] (0.center) to (4.center);
\draw [bend left=90, looseness=0.75] (10.center) to (14.center);
\draw [bend right=90, looseness=0.75] (1.center) to (5.center);
\draw [in=270, out=-45, looseness=0.75] (3.center) to (6.center);
\draw [bend left=90, looseness=0.75] (0.center) to (5.center);
\draw [bend left=90, looseness=0.75] (1.center) to (4.center);
\draw [bend left=90, looseness=0.75] (12.center) to (13.center);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\usetikzlibrary{backgrounds,shapes.geometric,arrows.meta,calc,positioning,3d,decorations.markings}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\Vertex[IdAsLabel]{A1}\Vertex[x=1,label=B_1,Math]{B}\Vertex[x=2,Math,IdAsLabel]{C_1}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[->]
\draw(0,0,0)--(xyz cylindrical cs:radius=1);
\draw(0,0,0)--(xyz cylindrical cs:radius=1,angle=90);
\draw(0,0,0)--(xyz cylindrical cs:z=1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar sampled, colorbar style={samples=8}]
\addplot [mesh, samples=40] {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,epsf,amssymb,latexsym,amsthm,setspace,bbm,array,pifont,enumerate}
\usepackage{tikz}
\usetikzlibrary[shapes.geometric]\usetikzlibrary{positioning}
\usetikzlibrary{calc,intersections,through,backgrounds}
\usetikzlibrary{cd}
\tikzset{>=stealth}
\tikzset{every picture/.style={very thick}
}
\begin{document}
\begin{tikzpicture}
\draw[thin] (0,0) node {$\bullet$} node [below] {$x$} -- (2,0) node {$\bullet$} node [below] {$\varphi_b(x)$} -- (3,1) node{$\bullet$}node[right] {$\varphi_{ab}(x)$} -- (1,1) node {$\bullet$} node[above] {$\varphi_a(x)$} --cycle;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(1,-1)to[short](1,1)(0,0)to[crossing](2,0);
\draw(4,-1)to[short](4,1)(3,0)to[short](5,0)(4,0)node[circ]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A}\Vertex[x=2]{B}\Vertex[x=2,y=-1]{C}\Edge[color=red](A)(B)\Edge[color=green!70!blue](A)(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{bayesnet, calc, arrows.meta, bending}
\begin{document}
\begin{tikzpicture}[thick,scale=1, every node/.style={scale=1}]
\node[obs] (x) {$\mathbf{x}$};
\node[latent, above=20pt of x] (z1) {$\mathbf{z}_1$};
\node[latent, above=20pt of z1] (z2) {$\mathbf{z}_{2}$};
\draw node[draw=none, scale=0.8, above=9pt of z2] (z3) {\hspace{0.5pt}\rotatebox{90}{$\mathbf{\cdots}$}};
\draw [-{Latex[scale=1.0]}] (x) to [out=45,in=-45] (z2);
\node[latent, above=9pt of z3] (zt) {$\mathbf{z}_T$};
\edge[-{Latex[scale=1.0]}]{x}{z1}\node[rectangle, draw=none, fill=white, scale=1, above=2pt of x, xshift=-12pt] (eq1) {$\alpha_1$};
\draw [-{Latex[scale=1.0]}] (x) to [out=45,in=-45] (zt);
\node[rectangle, draw=none, fill=white, scale=1, right=22pt of z2, yshift=-13pt] (eq2) {$\alpha_T$};
\node[rectangle, draw=none, scale=1, left=15pt of zt] (nt) {$\mathcal{N}\big(0, \sigma^2_T\mathbf{I}\big)$};
\node[rectangle, draw=none, scale=1, left=15pt of z2] (n2) {$\mathcal{N}\big(0, \sigma^2_2\mathbf{I}\big)$};
\node[rectangle, draw=none, scale=1, left=15pt of z1] (n1) {$\mathcal{N}\big(0, \sigma^2_1\mathbf{I}\big)$};
\edge[-{Latex[scale=1.0]}]{nt}{zt}\edge[-{Latex[scale=1.0]}]{n2}{z2}\edge[-{Latex[scale=1.0]}]{n1}{z1}\node[rectangle, draw=none, fill=white, scale=1, right=11pt of z1, yshift=-1pt] (eq3) {$\alpha_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz} \draw
(0,0) node[pnp, color=blue](pnp2){q1}
(pnp2.B) node[pnp, xscale=-1, anchor=B, color=brown](pnp1){\ctikzflipx{q2}}
(pnp1.C) node[npn, anchor=C, color=green](npn1){q3}
(pnp2.C) node[npn, xscale=-1, anchor=C, color=magenta](npn2){\ctikzflipx{q4}}
(pnp1.E) -- (pnp2.E) (npn1.E) -- (npn2.E)
(pnp1.B) node[circ]{} |- (pnp2.C) node[circ]{}
;\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colorbar horizontal,
colorbar style={
at={(1,1.03)},anchor=south east,
width=0.5*
\pgfkeysvalueof{/pgfplots/parent axis width},
xticklabel pos=upper,
},
title style={yshift=1cm},
title=More Customization: ``colorbar top'',
]
\addplot [
mesh,
thick,
samples=150,
domain=0.1:3,
] {x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
visualize as smooth line/.list={sin, cos},
sin={style=red},
cos={style=blue}]
data [set=sin, format=function] {
var x : interval[0:3*pi];
func y = sin(\value x r);
}
data [set=cos, format=function] {
var x : interval[0:3*pi];
func y = cos(\value x r);
};
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,1.5) -- (2,0) -- (1,-1.5) -- cycle;
\draw (3,0) -- (4,1) -- (5,0) -- (4,-1) -- cycle;
\draw (4,1) -- (4,-1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
visualize as line/.list={sin, cos, tan}]
data [set=sin, format=function] {
var x : interval[0:3*pi];
func y = sin(\value x r);
}
data [set=cos, format=function] {
var x : interval[0:3*pi];
func y = cos(\value x r);
}
data [set=tan, format=function] {
var x : interval[0:pi/2.2];
func y = tan(\value x r);
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) -- ++(1,0) to[R] ++(2,0)
to [rmeter, t=A, i=$i$] ++(0,-2) node[ground]{};
\draw (1,0) to[rmeter, t=V, v=$v$] ++(0,-2)
node[ground]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}[font=\footnotesize]
\begin{axis}[
legend columns=1,
legend style={at={(0.8,0.6)},anchor=north, font=\tiny, draw=gray!20}, legend cell align={left},
y label style={at={(-0.1,0.5)}},
ylabel={mAP}, xlabel={Inference Time (ms)}, ymajorgrids=true,
extra y ticks={59.0},
tick style={draw=none},
y label style={font=\footnotesize},
height=8cm,
width=9.5cm,
axis lines = left,
every outer y axis line/.style={draw=gray!40},
every outer x axis line/.style={draw=gray!40},
grid style={line width=.1pt, draw=gray!20},
xmin=0, ymax=59.0, ymin=36.5]
\addplot[line width=1.0pt, mark size=1.5pt, mark=diamond, draw=red, draw opacity=0.8]
table
{
X Y
2.0 42.6
2.9 48.0
5.6 52.5
8.8 56.1
19.1 58.3
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=black!80!white, draw opacity=0.8]
table
{
X Y
2.9 47.3
5.7 51.1
7.6 51.9
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=blue!80!white, draw opacity=0.8]
table
{
X Y
1.6 37.5
2.7 45.1
6.0 50.4
9.4 53.0
15.0 54.1
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=green!80!white, draw opacity=0.8]
table
{
X Y
2.4 41.5
2.9 44.7
6.5 49.5
10.5 52.2
18.8 53.5
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=black!30!white, draw opacity=0.8]
table
{
X Y
4.7 47.6
7.8 51.6
8.8 52.3
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=blue!30!white, draw opacity=0.5]
table
{
X Y
6.2 37.6
7.0 45.2
10.1 50.6
13.2 53.3
19.1 54.5
};
\addplot[line width=1.0pt, mark size=1.5pt, mark=x, draw=green!30!white, draw opacity=0.8]
table
{
X Y
7.4 41.7
7.9 44.9
10.8 49.7
14.9 52.4
22.8 54.0
};
\addlegendentry{LW-DETR}
\addlegendentry{YOLO-NAS*}
\addlegendentry{YOLOv8*}
\addlegendentry{RTMDet*}
\addlegendentry{YOLO-NAS}
\addlegendentry{YOLOv8}
\addlegendentry{RTMDet}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
level distance=8mm,
nodes={draw, rectangle, rounded corners=.2cm, ->},
level 1/.style={sibling distance=40mm},
level 2/.style={sibling distance=15mm},
level 3/.style={sibling distance=15mm}
]
\node[draw, circle] { }
child { node[draw, circle] {}
child{ node {$\mathtt{0000}$} edge from parent node[draw=none, left] {\texttt{00}} }
child{ node {$\mathtt{0010}$} edge from parent node[draw=none, left] {\texttt{10}} }
edge from parent node[draw=none, left] {\texttt{00}}
}
child { node[draw, circle] {}
child { node[draw, circle] {}
child{ node {$\mathtt{1001}$} edge from parent node[draw=none, left] {\texttt{01}} }
child{ node {$\mathtt{1011}$} edge from parent node[draw=none, left] {\texttt{11}} }
edge from parent node[draw=none, left] {\texttt{0}}
}
child { node {$\mathtt{1111}$} edge from parent node[draw=none, left] {\texttt{111}}}
edge from parent node[draw=none, left] {\texttt{1}}
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[xscale=0.80,yscale=0.80,every node/.style={font=\normalsize},rotate=35]
\draw[densely dotted, magenta!65!orange] (4,-5) -- (4,0.5);
\draw[orange, thick, fill=orange!35!white] (4,-4.5) -- (4,-1.5) -- (6,-4) -- (4,-4.5);
\draw[->, thick, teal] (0,0) -- (4,-4.5) node[right,black]{$\gamma_1$};
\draw[->, thick, purple] (0,0) -- (4,-1.5) node[above,black]{$\gamma_2$} node[above, pos=0.65] {$\gamma_\infty$};
\draw[->, thick, teal] (0,0) -- (6,-4) node[right,black]{$\gamma_3$};
\draw[->, magenta!80!orange] (0,0) -- (4,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}[scale=.75]
\tkzInit[xmin=-6,ymin=-4,xmax=6,ymax=6]\tkzClip\tkzDefPoint(132:4){A}\foreach\a in{5,10,...,360}{\tkzDefPoint(\a:5){M}\tkzDefLine[mediator](A,M)\tkzGetPoints{x}{y}\tkzDrawLine[thin,magenta,add=3 and 3](x,y)}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex[IdAsLabel]{A}
\Vertex[x=1,label=B,NoLabel]{B}
\Vertex[x=2,IdAsLabel,NoLabel]{C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar sampled]
\addplot [mesh, samples=40] {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[raised voltages]
\draw (0,0) to[R, v_>=$v_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsfonts,amssymb,dsfont,bm,mathtools,amsthm}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usepackage{pgfplots}
\usetikzlibrary{graphs, graphs.standard}
\usepgfplotslibrary{statistics}
\usetikzlibrary{arrows}
\usetikzlibrary{patterns}
\usetikzlibrary{arrows,shapes,decorations,backgrounds}
\usepackage{colortbl}
\begin{document}
\begin{tikzpicture}[{black, circle, draw, inner sep=0, scale=0.75}]
\tikzset{nodes={draw,rounded corners}
,minimum height=0.75cm,minimum width=0.75cm, font=\tiny}\node (P) at (3,2) {Pub} ;
\node (CPU) at (0,0.1) {Cpu};
\node (RAM) at (1.5,0.05) {Ram};
\node (DiskR) at (6,0) {DiskR};
\node (DiskW) at (4.5,-0.05) {DiskW};
\node (M) at (3,-0.1) {Mes};
\node (CON) at (3,-2) {Con};
\draw[->,>=latex] (P) -- (M);
\draw[<->,>=latex, blue] (CPU) -- (CON);
\draw[->,>=latex] (CON) -- (RAM);
\draw[->,>=latex, red] (CPU) -- (RAM);
\draw[->,>=latex] (P) to [out=180,in=135, looseness=2] (P);
\draw[->,>=latex] (CPU) to [out=180,in=135, looseness=2] (CPU);
\draw[->,>=latex] (M) to [out=180,in=135, looseness=2] (M);
\draw[->,>=latex] (RAM) to [out=180,in=135, looseness=2] (RAM);
\draw[->,>=latex] (DiskW) to [out=0,in=45, looseness=2] (DiskW);
\draw[->,>=latex] (DiskR) to [out=0,in=45, looseness=2] (DiskR);
\draw[->,>=latex] (CON) to [out=-30,in=15, looseness=2] (CON);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) -- ++(1,0) to[R] ++(2,0)
to [rmeterwa, t=A, i=$i$] ++(0,-2) node[ground]{};
\draw (1,0) to[rmeterwa, t=V, v=$v$] ++(0,-2)
node[ground]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows.meta}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}\tikzset{line style/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,4/0/B}\tkzDrawSegment[Latex-Latex](A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.36]
\draw[dashed, thick] (2,7) -- (10,7);
\draw[dashed, thick] (2,7) -- (5,2);
\draw[] (2,7) -- (5,10);
\draw[] (10,7) -- (5,2);
\draw[dashed, thick] (10,7) -- (5,10);
\draw[] (5,2) -- (5,10);
\filldraw (2,5) circle (0.13);
\filldraw (2,7) circle (0.13);
\filldraw (10,5) circle (0.13);
\filldraw (10,7) circle (0.13);
\filldraw (5,10) circle (0.13);
\filldraw (7,10) circle (0.13);
\filldraw (5,2) circle (0.13);
\filldraw (7,2) circle (0.13);
\node at (1.3,5) {$x_2$};
\node at (1.3,7) {$x_1$};
\node at (10.7,5) {$z_2$};
\node at (10.7,7) {$z_1$};
\node at (5,1.3) {$w_1$};
\node at (7,1.3) {$w_2$};
\node at (5,10.7) {$y_1$};
\node at (7,10.7) {$y_2$};
\node at (6,0) {Case 3};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[footnotesize,axis x line=center,axis y line=center,hide obscured x ticks=false,hide obscured y ticks=false]\addplot{x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,arrows,petri}
\begin{document}
\begin{tikzpicture}[node distance=1cm,>=stealth',bend angle=45,auto,every label/.style={align=left}]
\tikzstyle{place}=[circle,thick,draw=black,fill=white,minimum size=5mm]
\tikzstyle{transition}=[rectangle,thick,draw=black!75,
fill=black!5,minimum size=4mm]
\begin{scope}
\node [place, tokens=1] (p1) [label=180:$p_1$]{};
\node [place, tokens=1] (p3) [label=180:$p_3$, right of=p1, xshift=10mm, yshift=0mm]{};
\node [place, tokens=1] (p5) [label=180:$p_{2n+1}$, right of=p3, xshift=30mm, yshift=0mm]{};
\node [transition] (t1) [label=120:$t_1$, below of=p1, xshift=-4.5mm, yshift=0mm] {}
edge [pre] (p1);
\node [transition,double] (t2) [label=60:$t_2$, below of=p1, xshift=4.5mm, yshift=0mm] {}
edge [pre] (p1);
\node [transition] (t3) [label=120:$t_3$, below of=p3, xshift=-4.5mm, yshift=0mm] {}
edge [pre] (p3);
\node [transition,double] (t4) [label=60:$t_4$, below of=p3, xshift=4.5mm, yshift=0mm] {}
edge [pre] (p3);
\node [transition] (t5) [label=120:$t_{2n+1}$, below of=p5, xshift=-4.5mm, yshift=0mm] {}
edge [pre] (p5);
\node [transition,double] (t6) [label=60:$t_{2n+2}$, below of=p5, xshift=4.5mm, yshift=0mm] {}
edge [pre] (p5);
\node at ($(t4)!.5!(t5)$) {\ldots};
\node [place] (p2) [label=180:$p_2$, below of=t1, fill=yellow!50]{}
edge [pre] (t1);
\node [place] (p4) [label=180:$p_4$, below of=t3, fill=yellow!50]{}
edge [pre] (t3);
\node [place] (p6) [label=180:$p_{2n+2}$, below of=t5, fill=yellow!50]{}
edge [pre] (t5);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
font=\sf,
xlabel={False Positive Rate},
ylabel={True Positive Rate},
xmin= -0.05, xmax=1,
ymin= 0, ymax=1,
xtick={0,.2,.4,.6,.8,1},
ytick={0,.2,.4,.6,.8,1},
legend pos=south east,
legend image post style={scale=0.2},
no markers,
]
\addlegendimage{empty legend}
\addlegendentry{\textbf{AUC}}
\addplot[smooth,red, tension=0.1]
coordinates {(0,0)(0.00,0.8990)(1,1)};
\addlegendentry{$T_{10}$ = 95.0}
\addplot[smooth,green, tension=0.1]
coordinates {(0,0)(0.00,0.8224)(1,1)};
\addlegendentry{$T_{15}$ = 91.1}
\addplot[smooth,purple, tension=0.1]
coordinates {(0,0)(0.00,0.8252)(1,1)};
\addlegendentry{$T_{20}$ = 91.3}
\addplot[smooth,blue, tension=0.1]
coordinates {(0,0)(0.00,0.8690)(1,1)};
\addlegendentry{$T_{25}$ = 93.5}
\addplot[smooth,yellow, tension=0.1]
coordinates {(0,0)(0.00,0.8676)(1,1)};
\addlegendentry{$T_{30}$ = 93.4}
\addplot[smooth,pink, tension=0.1]
coordinates {(0,0)(0.00,0.8614)(1,1)};
\addlegendentry{$T_{35}$ = 93.1}
\addplot[smooth,pink, tension=0.1]
coordinates {(0,0)(0.00,0.8471)(1,1)};
\addlegendentry{$T_{40}$ = 92.4}
\addplot[black,dashed] coordinates{(0,0) (1,1)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[applemac]{inputenc}
\usepackage[dvipsnames,svgnames,x11names,hyperref]{xcolor}
\usepackage{amsmath,thmtools,mathtools}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\draw[black,line width=0.5] (1,0) arc (0:360:1);
\fill (0,0) circle (0.6pt);
\draw[-stealth](0,-1.5)--(0,1.5);
\draw[-stealth](-2,0)--(2,0);
\draw[green,line width=0.5](1.732,0)--(0.58,0.816);
\draw[green,line width=0.5](1.732,0)--(0.58,-0.816);
\draw[green,line width=0.5](-1.732,0)--(-0.58,-0.816);
\draw[green,line width=0.5](-1.732,0)--(-0.58,0.816);
\draw[blue,line width=0.5](-1.732/2,1/2)--(1.732/2,1/2);
\draw[blue,line width=0.5](-1.732/2,-1/2)--(1.732/2,-1/2);
\draw[blue,line width=0.5](-1.732/2,1/2)--(-1.732/2,-1/2);
\draw[blue,line width=0.5](1.732/2,1/2)--(1.732/2,-1/2);
\node at (0.2,1.7){$e_1$};
\node at (2.1,0.2){$e_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) -- ++(1,0) to[R] ++(2,0)
to [smeter, t=A, i=$i$] ++(0,-2) node[ground]{};
\draw (1,0) to[smeter, t=V, v=$v$] ++(0,-2)
node[ground]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[thick, scale=0.4, every node/.style={scale=0.8}]
\node {$e_w$}
child {node {$p_1$}
child {node {$e_1$}}
child {node {$e_2$}}
child {node {$e_3$}}
}
child [missing] {}
child [missing] {}
child [missing] {}
child { node {$p_2$}
child {node {$e_4$}}
child {node {$e_5$}}
child {node {$e_6$}}
}
child [missing] {}
child [missing] {}
child [missing] {}
child { node {$p_3$}
child {node {$e_7$}}
child {node {$e_8$}}
child {node {$e_9$}}
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar stacked,
enlargelimits=0.15,
legend style={
at={(0.5,-0.20)},
anchor=north,
legend columns=-1
},
ylabel={\#participants},
symbolic x coords={tool1, tool2, tool3, tool4, tool5, tool6, tool7},
xtick=data,
x tick label style={rotate=45, anchor=east},
]
\addplot+ [ybar] coordinates {
(tool1,0) (tool2,2) (tool3,2) (tool4,3) (tool5,0) (tool6,2) (tool7,0)
};
\addplot+ [ybar] coordinates {
(tool1,0) (tool2,0) (tool3,0) (tool4,3) (tool5,1) (tool6,1) (tool7,0)
};
\addplot+ [ybar] coordinates {
(tool1,6) (tool2,6) (tool3,8) (tool4,2) (tool5,6) (tool6,5) (tool7,6)
};
\addplot+ [ybar] coordinates {
(tool1,4) (tool2,2) (tool3,0) (tool4,2) (tool5,3) (tool6,2) (tool7,4)
};
\legend{never, rarely, sometimes, often}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[{black, circle, draw, inner sep=0}]
\tikzset{nodes={draw,rounded corners},minimum height=0.7cm,minimum width=0.7cm}
\node[draw] (X11) at (1,-1.5) {$X_{t^-}$};
\node[draw, fill=red!30] (X1) at (2.5,-1.5) {$X_{t}$};
\node[draw] (X31) at (1,0) {$Z_{t^-}$};
\node[draw] (X3) at (2.5,0) {$Z_{t}$};
\node[draw] (X21) at (1,1.5) {$Y_{t^-}$};
\node[draw, fill=blue!30] (X2) at (2.5,1.5) {$Y_{t}$};
\draw[->,>=latex] (X11) -- (X1);
\draw[->,>=latex] (X31) -- (X3);
\draw[->,>=latex] (X21) -- (X2);
\draw[->,>=latex] (X21) -- (X3);
\draw[->,>=latex] (X31) -- (X2);
\draw[->,>=latex] (X31) -- (X1);
\draw[<-,>=latex] (X3) -- (X1);
\draw[->,>=latex] (X3) -- (X2);
\draw[->,>=latex] (X1) to [out=45,in=-60, looseness=1] (X2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
visualize as line=sin,
visualize as line=cos,
visualize as scatter=tan]
data {
x, y, set
0, 0, sin
1, 1, sin
2, 0, sin
3, -1, sin
4, 0, sin
0, 1, cos
1, 0, cos
0, 0, tan
1, 1, tan
2, 2, tan
3, 4, tan
2, -1, cos
3, 0, cos
4, 1, cos
};
\end{document}