AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz, border=2pt]{standalone}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale=0.64]
\fill[gray!50] (0,0) -- (0,10) -- (5,10) -- cycle;
\fill[blue] (0,0) -- (0.625,1.25) -- (0,1.25) -- cycle;
\fill[red] (1.25, 2.5) -- (2.5,5) -- (1.25,5) -- cycle;
\fill[blue] (0,5) -- (1.25,5) -- (1.25,10) -- (0,10) -- cycle;
\draw[thick] (0,0) -- (10,0) -- (10,10) -- (0,10) -- (0,0);
\draw (0,0) -- (5,10);
\draw[dashed] (1.25,0) -- (1.25,10);
\draw[dashed] (5,0) -- (5,10);
\draw[dashed] (0,1.25) -- (10,1.25);
\draw[dashed] (0,5) -- (10,5);
\fill[white, opacity=0.9] (0,0) -- (10,10) -- (10,0) -- cycle;
\draw[gray] (0,0) -- (10,10);
\draw (1.25,0) node[anchor=north]{$\frac{n}{8}$};
\draw (5,0) node[anchor=north]{$\frac{n}{2}$};
\draw (0,1.25) node[anchor=east]{$\frac{n}{8}$};
\draw (0,5) node[anchor=east]{$\frac{n}{2}$};
\draw (0,0) node[anchor=north east]{1};
\draw (10,0) node[anchor=north]{$n$};
\draw (0,10) node[anchor=east]{$n$};
\draw[blue, ultra thick] (0,0) -- (1.25,0);
\draw[blue, ultra thick] (0,0) -- (0,1.25);
\draw[red, ultra thick] (1.25,0) -- (5,0);
\draw[red, ultra thick] (0,1.25) -- (0,5);
\draw[blue, ultra thick] (5,0) -- (10,0);
\draw[blue, ultra thick] (0,5) -- (0,10);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}[multilayer=3d]
\Vertex[x=0.5,IdAsLabel,layer=1]{A}
\Vertex[x=1.5,IdAsLabel,layer=1]{B}
\Vertex[x=1.5,IdAsLabel,layer=2]{C}
\Edge[bend=60](A)(B)
\Edge[style=dashed](B)(C)
\Edge(C)(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,color,tikz}
\usetikzlibrary{decorations.pathmorphing,cd,patterns}
\begin{document}
\begin{tikzpicture}[baseline = -2,scale = 1.5]
\node at (150:1) {$0$};
\node at (90:1) {$1$};
\node at (-150:1) {$1$};
\node at (0:0) {$1$};
\node at (30:1) {$1$};
\node at (-90:1) {$1$};
\node at (-30:1) {$2$};
\draw[->] (150:1) + (30:0.15) --+ (30:0.85);
\draw[double] (90:1) + (-30:0.15) --+ (-30:0.85);
\draw[->] (30:1) + (-90:0.15) --+ (-90:0.85);
\draw[->] (150:1) + (-90:0.15) --+ (-90:0.85);
\draw[double] (-150:1) + (-30:0.15) --+ (-30:0.85);
\draw[->] (-90:1) + (30:0.15) --+ (30:0.85);
\draw[->] (150:1) + (-30:0.15) --+ (-30:0.85);
\draw[double] (0:0) + (-90:0.15) --+ (-90:0.85);
\draw[double] (0:0) + (30:0.15) --+ (30:0.85);
\draw[double] (-150:0.5) + (-0.15,-0.15) --+ (0.15,0.15);
\draw[double] (90:0.5) + (-0.15,-0.15) --+ (0.15,0.15);
\draw[<-,double] (-30:0.5) + (-0.15,-0.15) --+ (0.15,0.15);
\node[scale = 0.8] at (1,0) {$0$};
\node[scale = 0.8] at (0.5,-0.9) {$1$};
\node[scale = 0.8] at (-1,0) {$0$};
\node[scale = 0.8] at (-0.5,0.9) {$0$};
\node[scale = 0.8, fill = white] at (150:0.5) {$0$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc}
\tikzset{ horizontal center at origin/.style={ execute at end picture={
\path let \p1=(current bounding box.west),\p2=(current bounding box.east) in ({-max(-1*\x1,\x2)}
,\y1) ({max(-1*\x1,\x2)},\y1);
} }, dots/.style args={#1 per #2}{ line cap=round, dash pattern=on 0 off #2/#1 } }
\begin{document}
\begin{tikzpicture}[ line width=0.175mm, horizontal center at origin, every node/.style={inner sep=2pt} ]
\begin{scope}[rotate=45]
\node (gA) at (0, 5.5) {$g(A)$};
\coordinate (D1') at (0, 4.5);
\coordinate (D1) at ($(D1') + (0:1)$);
\coordinate (D2') at (0, 3.5);
\coordinate (D2) at ($(D2') + (0:1)$);
\coordinate (s) at ($(D2') + (0, -0.35)$);
\coordinate (D3') at (0, 2);
\coordinate (t) at ($(D3') + (0, 0.35)$);
\coordinate (D3) at ($(D3') + (0:1)$);
\node (A') at (0, 1) {$A'$};
\end{scope}
\draw (gA) edge (D1') (D1') edge (D2') (D3') edge (A');
\draw (D2') -- (s);
\draw[dots=10 per 1cm, line width=0.3mm, shorten <=(1cm/10)] (s) -- (t);
\draw (t) -- (D3');
\draw (D1') -- (D1);
\draw (D2') -- (D2);
\draw (D3') -- (D3);
\begin{scope}[rotate=-45, xscale=-1]
\node (gB) at (0, 5.5) {$g(B)$};
\coordinate (E1') at (0, 4.5);
\coordinate (E1) at ($(E1') + (0:1)$);
\coordinate (E2') at (0, 3.5);
\coordinate (E2) at ($(E2') + (0:1)$);
\coordinate (u) at ($(E2') + (0, -0.35)$);
\coordinate (E3') at (0, 2);
\coordinate (v) at ($(E3') + (0, 0.35)$);
\coordinate (E3) at ($(E3') + (0:1)$);
\node (B') at (0, 1) {$B'$};
\end{scope}
\draw (gB) edge (E1') (E1') edge (E2') (E3') edge (B');
\draw (E2') -- (u);
\draw[dots=10 per 1cm, line width=0.3mm, shorten <=(1cm/10)] (u) -- (v);
\draw (v) -- (E3');
\draw (E1') -- (E1);
\draw (E2') -- (E2);
\draw (E3') -- (E3);
\node (gC) at (0, 0) {$g(C)$};
\draw (B') -- (gC);
\draw (A') -- (gC);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\definecolor{c}{rgb}{0,.5,.5}
\begin{document}

  \begin{tikzpicture}[rotate=30,line width=.2pt]
    \tkzDefPoint(2,1){S}\tkzDefPoint(7,3){T}\tkzDefPointBy[rotation=center S angle 60](T)\tkzGetPoint{P}\tkzDefLine[bisector,normed](T,S,P)\tkzGetPoint{s}\tkzDrawPoints[size=2,color=c](S,T,P)\tkzDrawPolygon[color=blue](S,T,P)\tkzDrawLine[dashed,color=blue,add=0 and 3](S,s)\tkzLabelPoint[above right,color=c,font=\scriptsize](P){$P$}\tkzLabelPoints[color=c,font=\scriptsize](S,T)\tkzMarkAngle[size=1.8,mark=|,arc=ll,color=blue](T,S,P)\tkzMarkAngle[size=2.1,mark=|,arc=l,color=blue](T,S,s)\tkzMarkAngle[size=2.3,mark=|,arc=l,color=blue](s,S,P)\tkzLabelAngle[pos=1.5,color=c,font=\footnotesize](T,S,P){$60^\circ$}\tkzLabelAngles[pos=2.7,color=c,font=\footnotesize](T,S,s s,S,P){$30^\circ$}
  \end{tikzpicture}
\end{document}
\documentclass[margin=.5cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\newcommand{\myDraw}[2]{
\begin{minipage}[t]{2.5cm}
\centering \footnotesize $\theta=#1^{\circ}$, $k=#2$ \medskip\\
\begin{tikzpicture}[rotate=#1,scale=#2]
\draw (0,1) -- (0,0) coordinate (o) -- (1,0) node[midway,name=i] {$1$};
\node (O) at ($(o)+(-0.5em,-0.5em)$) {$O$};
\node (I) at ($(i)+(0,-0.5em)$) {$1$};
\end{tikzpicture}
\end{minipage}}
\begin{document}
\myDraw{0}{0.5}
\myDraw{45}{0.7}
\myDraw{90}{1}
\myDraw{135}{1.3}
\myDraw{180}{1.5}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[stack plots=y]
\addplot coordinates {
(0,1) (1,1) (2,2) (3,2)
};
\addplot coordinates {
(0,1) (1,1) (2,2) (3,2)
};
\addplot coordinates {
(0,1) (1,1) (2,2) (3,2)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=5,thick]
\draw[draw=none,fill=black!5!white](1/4,.7)--(1/4,1/4)--(2/3,0)--(1.2,0)--(1.2,.7)--(1/4,.7);
\draw[->](2/3,0)--(1.2,0);
\draw[->](1/4,1/4)--(1/4,.7);
\draw(2/3,0)--(1/4,1/4);
\draw[fill](2/3,0)circle(0.01)node[below]{\(\frac{1}{3}(2,0)\)}(1/4,1/4)circle(0.01)node[left]{\(\frac{1}{4}(1,1)\)};
\draw[dashed,->](1/4,.6)--(.4,.6)node[above]{\small\((1,0)\)};
\begin{scope}[yshift=-1]
\draw[dotted,->](1/4,.6)--(.7,.6)node[above]{\small\((4,0)\)};
\end{scope}\draw[dashed,->](1,0)--(1,.1)node[right]{\((0,1)\)};
\begin{scope}[xshift=-1]
\draw[dotted,->](1,0)--(1,.3)node[right]{\((0,3)\)};
\end{scope}\draw[dashed,->](.45,.12)--(.61,.36)node[right]{\small\((3,5)\)};
\begin{scope}[xshift=1,yshift=-3/5]
\draw[dotted,->](.45,.12)--(.61,.36);
\end{scope}
\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{amsmath,amssymb,tikz}
\begin{document}
\begin{tikzpicture}[scale=1,sizefont/.style={scale = 2}]
\draw [<->,thick] (0,2) node (yaxis) [above] {} |- (10.5,0) node (xaxis) [right] {};
\draw[ultra thick] (0,3/2) -- (7,0);
\draw[ultra thick] (7,0) -- (10,0);
\draw (6.5,1) node[left] {{ $\longleftarrow \ \ \text{slope} \atop \ \ \ \ \ -1/\ell$}};
\draw (0,3/2) node[left] {$$};
\draw (10,0) node {$\bullet$};
\draw (7,0) node {$\bullet$};
\draw (10,0) node[below] {$n$};
\draw (0,3/2) node {$\bullet$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}[scale=0.70]
\begin{axis}[
xlabel={Number of qubits},
ylabel={Average T gate count},
xmin=4, xmax=8,
ymin=0, ymax=600,
xtick={4,5,6,7,8},
ytick={100,200,300,400,500,600},
legend pos=north west,
ymajorgrids=true,
grid style=dashed,
]
\addplot[color=red,mark=square]
coordinates {(4,58.3)(5,116.5)(6,252)(7,336)(8,504)};
\addlegendentry{Pytket-Cycle (a)}
\addplot[color=red,mark=triangle]
coordinates {(4,58.3)(5,91.8)(6,131.3)(7,166.6)(8,191.2)};
\addlegendentry{Pytket-Cycle (b)}
\addplot[color=black,mark=square]
coordinates {(4,81.7)(5,168)(6,224)(7,336)(8,392)};
\addlegendentry{Thm 3.4 (a)}
\addplot[color=black,mark=triangle]
coordinates {(4,67.7)(5,91.4)(6,118.2)(7,142.8)(8,162.1)};
\addlegendentry{Thm 3.4 (b)}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar stacked]
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\tikzset{vtx/.style={inner sep=1pt,outer sep=0pt,circle,fill,draw}
}
\begin{document}
\begin{tikzpicture}
\def\px{0}
\def\qx{-3}
\def\rx{3}
\node at(\px,0)[draw,rectangle,minimum width=1cm,minimum height=4cm,rounded corners,thick,label=$P$]{};
\node at(\qx,0)[draw,rectangle,minimum width=1cm,minimum height=4cm,rounded corners,thick,label=$Q$]{};
\node at(\rx,0)[draw,rectangle,minimum width=1cm,minimum height=4cm,rounded corners,thick,label=$R$]{};
\def\yl{1.7,1.4,1.1,0.8,0.5,0.2,-0.1,-0.4,-0.7,-1,-1.3,-1.6}
\def\hl{1.4,0.8,0.2,-0.4,-1,-1.6}
\def\hs{1.4,0.8,0.2,-0.4,-1}
\foreach\y in\hl\node at(0,\y)[vtx]{};
\foreach\x in{\qx-0.2,\qx+0.2}\foreach\y in\yl\node at(\x,\y)[vtx]{};
\foreach\x in{\rx-0.2,\rx+0.2}\foreach\y in\yl\node at(\x,\y)[vtx]{};
\def\e{0.15}
\def\h{0.6}
\foreach\py in\hs{\foreach\qy in{\py+0.3,\py,\py-0.3}{\draw[color=red,opacity=0.3,line cap=round,line join=round,line width=2pt](\px+\e,\py+\e)--(\px-\e,\py+\e)--(\qx+0.1+\e,\qy+\e)--(\qx-0.2-\e,\qy+\e)--(\qx-0.2-\e,\qy-0.3-\e)--(\qx+0.1+\e,\qy-0.3-\e)--(\px-\e,\py-\h-\e)--(\px+\e,\py-\h-\e)--(\px+\e,\py+\e);
}};
\def\e{0.15}
\def\h{0}
\foreach\py in\hl{\foreach\qy in{\py+0.3,\py}{\draw[color=blue,opacity=0.3,line cap=round,line join=round,line width=2pt](\px-\e,\py+\e)--(\px+\e,\py+\e)--(\rx-0.1-\e,\qy+\e)--(\rx+0.2+\e,\qy+\e)--(\rx+0.2+\e,\qy-\e)--(\rx-0.1-\e,\qy-\e)--(\px+\e,\py-\h-\e)--(\px-\e,\py-\h-\e)--(\px-\e,\py+\e);
}};
\def\e{0.17}
\def\h{0.6}
\def\py{1.4}
\def\qy{1.7}
\draw[color=red,line cap=round,line join=round,line width=3pt](\px+\e,\py+\e)--(\px-\e,\py+\e)--(\qx+0.1+\e,\qy+\e)--(\qx-0.2-\e,\qy+\e)--(\qx-0.2-\e,\qy-0.3-\e)--(\qx+0.1+\e,\qy-0.3-\e)--(\px-\e,\py-\h-\e)--(\px+\e,\py-\h-\e)--(\px+\e,\py+\e);
\def\py{-0.4}
\def\qy{-1.3}
\draw[color=red,line cap=round,line join=round,line width=3pt](\px+\e,\py+\e)--(\px-\e,\py+\e)--(\qx+0.1+\e,\qy+\e)--(\qx-0.2-\e,\qy+\e)--(\qx-0.2-\e,\qy-0.3-\e)--(\qx+0.1+\e,\qy-0.3-\e)--(\px-\e,\py-\h-\e)--(\px+\e,\py-\h-\e)--(\px+\e,\py+\e);
\def\e{0.17}
\def\h{0}
\def\py{0.2}
\def\qy{0.2}
\draw[color=blue,line cap=round,line join=round,line width=3pt](\px-\e,\py+\e)--(\px+\e,\py+\e)--(\rx-0.1-\e,\qy+\e)--(\rx+0.2+\e,\qy+\e)--(\rx+0.2+\e,\qy-\e)--(\rx-0.1-\e,\qy-\e)--(\px+\e,\py-\h-\e)--(\px-\e,\py-\h-\e)--(\px-\e,\py+\e);
\def\py{-1.6}
\def\qy{-1.3}
\draw[color=blue,line cap=round,line join=round,line width=3pt](\px-\e,\py+\e)--(\px+\e,\py+\e)--(\rx-0.1-\e,\qy+\e)--(\rx+0.2+\e,\qy+\e)--(\rx+0.2+\e,\qy-\e)--(\rx-0.1-\e,\qy-\e)--(\px+\e,\py-\h-\e)--(\px-\e,\py-\h-\e)--(\px-\e,\py+\e);
\node at(\qx-1,1.6)[red]{$\mathcal{M}_1$};
\node at(\rx+1,-1.3)[blue]{$\mathcal{M}_2$};
\node at(-1.5,-2.3)[red]{\small$\delta(\mathcal{H}_1)\approx\Delta(\mathcal{H}_1)\approx d$};
\node at(2,-2.3)[blue]{\small$\Delta_R(\mathcal{H}_2)\le d^{\varepsilon^4}\delta_{P}(\mathcal{H}_2)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{tikzpicture}[
set/.style={inner sep=1pt, minimum size=0.75cm, align=center, fill=lightgray, rounded corners},
otherset/.style={inner sep=2pt, minimum size=0.75cm, align=center},
>={Stealth[scale=0.75]}
]
\node[set] (ABC) at (0,0) {$\{a,b,c\}$};
\node[set, right=0.75cm of ABC] (AB) {$\{a,b\}$};
\node[set, above right=0.05cm and 0.75cm of AB] (BD) {$\{b,d\}$};
\node[set, below right=0.05cm and 0.75cm of AB] (B) {$\{b\}$};
\node[set, right=0.75cm of BD] (CD) {$\{c,d\}$};
\node[set, right=0.75cm of B] (BCD) {$\{b,c,d\}$};
\node[set, below right=0.05cm and 0.75cm of CD] (ACD) {$\{a,c,d\}$};
\draw[->, fill=lightgray] (ABC) -- (AB);
\draw[->] (AB) -- (BD);
\draw[->] (AB) -- (B);
\draw[->] (BD) -- (CD);
\draw[->] (B) -- (BCD);
\draw[->] (B) -- (CD);
\draw[->] (CD) -- (ACD);
\draw[->] (BCD) -- (ACD);
\draw[->, dashed, rounded corners=3mm] (AB) -- ([yshift=-0.4cm]AB.south) |- ([xshift=-0.3cm, yshift=-0.4cm]BCD.south) -- ([xshift=-0.3cm]BCD);
\draw[->, dashed, rounded corners=3mm] (ABC) -- ([yshift=-0.6cm]ABC.south) |- ([yshift=-0.6cm]BCD.south) -- (BCD);
\draw[->, dashed, rounded corners=3mm] (ABC) |- (BD);
\draw[->, dashed, rounded corners=3mm] (ABC) |- (B);
\node[otherset, left=0.75cm of ABC] (ABD) {$\{a,b,d\}$};
\draw[->, dashed] (ABC) -- (ABD);
\node[otherset, below=1.35cm of ACD] (BC) {$\{b,c\}$};
\draw[->, dashed] (BC) -- (ACD);
\node[otherset, left=2cm of BC] (ABCD) {$\{a,b,c,d\}$};
\draw[->, dashed] (BC) -- (ABCD);
\draw[->, dashed, rounded corners=3mm] (ABC) |- (ABCD);
\node[otherset, above=0.85cm of ACD] (C) {$\{c\}$};
\draw[->, dashed] (C) -- (ACD);
\node[otherset, above left=0.05cm and 0.25cm of CD] (EMPTY) {$\emptyset$};
\draw[->, dashed] (EMPTY) -- (CD);
\node[otherset, above right=0.05cm and 0.25cm of CD] (D) {$\{d\}$};
\draw[->, dashed] (D) -- (CD);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
\draw (0,0) -- (2,1) -- (1,0);
\pgftransformrotate{30}
\draw[red] (0,0) -- (2,1) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,shapes,shadows,arrows,decorations,decorations.pathmorphing,calc}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\draw[very thick] (-2,0) arc(-180:180:0.6);
\draw[very thick,->] (-2,0) arc(180:0:0.6);
\draw[very thick] (0,2) arc(-270:90:0.6);
\draw[very thick,->] (0,2) arc(90:-90:0.6);
\draw[very thick] (0,-2) arc(270:-90:0.6);
\draw[very thick,->] (0,-2) arc(270:90:0.6);
\draw[very thick] (2,0) arc(0:-360:0.6);
\draw[very thick,->] (2,0) arc(0:-180:0.6);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american voltages, voltage shift=0.5]
\draw (0,0) to[battery,l_=1V, v=$u_1$, i=$i_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
\draw(0,1)to[resistor](2,1)to[inductor](4,1);
\begin{scope}[every resistor/.style={circuit symbol size=width 3 height 1}]
\draw(0,0)to[resistor](2,0)to[inductor](4,0);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotstableread{
dof l2_err level
5 8.312e-02 2
17 2.547e-02 3
49 7.407e-03 4
129 2.102e-03 5
321 5.874e-04 6
769 1.623e-04 7
1793 4.442e-05 8
4097 1.207e-05 9
9217 3.261e-06 10
}\datadatadB
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}
\addplot table {\datadatadB}
coordinate [pos=0.25] (A)
coordinate [pos=0.4] (B)
;
\draw [-stealth] (A) -| (B);
\node [pin=0:Special.] at (769,1.623e-04) {};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[ospst=T, invert, i=$i_1$, v=$v$] (2,0);
\end{circuitikz}
\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) to[R, l=1<\kilo\ohm>] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{hyperref,amsthm,amssymb,interval,tikz,tikz-cd}
\usepackage{amsmath,amsfonts,amssymb,amsthm,graphicx,color,srcltx,enumitem,bm,cancel,doi}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\draw (-7.0,1.5) -- (-2.0,1.5);
\filldraw[black] (-7.0,1.5) circle (1pt) node[anchor=west] {};
\filldraw[black] (-6,1.5) circle (1pt) node[anchor=west] {};
\filldraw[black] (-5,1.5) circle (1pt) node[anchor=west] {};
\filldraw[black] (-3,1.5) circle (1pt) node[anchor=west] {};
\filldraw[black] (-2.0,1.5) circle (1pt) node[anchor=west] {};
\node at (-6,0.8) {\tiny $T_{1}$};
\node at (-5,0.8) {\tiny $T_{2}$};
\node at (-3,0.8) {\tiny $T_{m}$};
\node at (-7.2,1.5) {\tiny $i$};
\node at (-1.8,1.5) {\tiny $j$};
\draw (-6.4,0.5) -- (-5.6,0.5) -- (-6,1.5) -- (-6.4,0.5);
\draw (-5.4,0.5) -- (-4.6,0.5) -- (-5,1.5) -- (-5.4,0.5);
\draw (-3.4,0.5) -- (-2.6,0.5) -- (-3,1.5) -- (-3.4,0.5);
\node at (-4.5,1) {};
\node at (-3.5,1) {};
\node (v1) at (-4.5,1) {};
\node at (-3.5,1) {};
\node (v2) at (-3.5,1) {};
\draw [dash pattern=on 2pt off 3pt on 4pt off 4pt] (v1) edge (v2);
\draw [dash pattern=on 2pt off 3pt on 4pt off 4pt] (v2) edge (v1);
\node at (-7.5,2) {};
\node at (-6,1) {};
\node at (-5,1) {};
\node at (-3,1) {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
hide x axis,
hide y axis,
title={$x^2\cos(x)$},
]
\addplot {cos(x)*x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\path (0,0) node (x) {Hello World!}
(3,1) node[circle,draw](y) {$\int_1^2 x \mathrm d x$};
\draw[->,blue] (x) -- (y);
\draw[->,red] (x) -| node[near start,below] {label} (y);
\draw[->,orange] (x) .. controls +(up:1cm) and +(left:1cm) .. node[above,sloped] {label} (y);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
x tick label style={
/pgf/number format/1000 sep=},
ylabel=Population,
enlargelimits=0.05,
legend style={at={(0.5,-0.15)},
anchor=north,legend columns=-1},
ybar interval=0.7,
]
\addplot coordinates {
(1930,50e6) (1940,33e6)
(1950,40e6) (1960,50e6) (1970,70e6)
};
\addplot coordinates {
(1930,38e6) (1940,42e6)
(1950,43e6) (1960,45e6) (1970,65e6)
};
\addplot coordinates {
(1930,15e6) (1940,12e6)
(1950,13e6) (1960,25e6) (1970,35e6)
};
\legend{Far,Near,Here}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[ospst=T, i=$i_1$, v=$v$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[AA/.style={circle, draw=black!60, fill=black!5, thick, minimum size=0.01cm, font=\tiny}, BB/.style={circle, draw=red!60, fill=red!5, thick, minimum size=0.01cm, font=\tiny}, CC/.style={circle, draw=blue!60, fill=blue!5, thick, minimum size=0.01cm, font=\tiny}, DD/.style={circle, draw=green!60, fill=green!5, thick, minimum size=0.01cm, font=\tiny}, FF/.style={circle, draw=orange!60, fill=orange!5, thick, minimum size=0.01cm, font=\tiny}, PP/.style={circle, draw=black!0, fill=black!0, thick, minimum size=0.15cm, font=\fontsize{2mm}{2mm}\selectfont}]
\node [AA, minimum size=0.009cm, inner sep=2pt] (net) at (0, 0) {};
\node [font=\tiny, right=0.0009cm of net] {\tiny net:\tiny Network~Log};
\node [AA, minimum size=0.009cm, inner sep=2pt, right=2.01 of net] (m) {};
\node [font=\tiny, right=0 cm of m] {\tiny dc:\tiny Deleted~Cloud};
\node [AA, minimum size=0.009cm, inner sep=2pt, right=1.95 of m] (slog) {};
\node [font=\tiny, right=0 cm of slog] {slog:\tiny Syslog};
\node [AA, minimum size=0.009cm, inner sep=2pt, below=.01 of net] (ec) {};
\node [font=\tiny, right=0.0009cm of ec] {\tiny ec:\tiny External~Cloud};
\node [AA, minimum size=0.009cm, inner sep=2pt, right=2.01 of ec] (ai) {};
\node [font=\tiny, right=0 cm of ai] {\tiny ai:\tiny AI Model};
\node [BB, minimum size=0.009cm, inner sep=2pt, right=1.3 of slog] (time) {};
\node [font=\tiny, right=0 cm of time] {\tiny t:\tiny Time};
\node [FF, minimum size=0.009cm, inner sep=2pt, right=0.9 of time] (s) {};
\node [font=\tiny, right=0 cm of s] {\tiny s:\tiny Size};
\node [DD, minimum size=0.009cm, inner sep=2pt, right=.7 of s] (un) {};
\node [font=\tiny, right=0 cm of un] {\tiny u, c, a (n):\tiny Username};
\node [CC, minimum size=0.009cm, inner sep=2pt, below=.01 of slog] (ip) {};
\node [font=\tiny, right=0 cm of ip] {\tiny IP, dIP, sIP:\tiny source~or~destination~IP};
\node [PP, minimum size=0.009cm, inner sep=2pt, right=3.93 of ip] (p) {};
\node [font=\tiny, right=0cm of p, text=green!70!black] {\tiny P:\tiny Positive~match};
\draw ([xshift=-5pt]net.north west) -- ++(-0, -12pt) node[midway, left=0pt] {\tiny Graph Keys};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[ospst=T, mirror, i=$i_1$, v=$v$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{tikz}
\usetikzlibrary{calc,shapes.geometric,matrix}
\begin{document}
\begin{tikzpicture}
\node at (-1.36,0) {$B_3(2,3)$};
\filldraw (0,0) circle (0.05cm);
\draw (0,0) -- node[above] {$4$} (1,0);
\filldraw (1,0) circle (0.05cm);
\draw (1,0) -- (2,0);
\filldraw (2,0) circle (0.05cm);
\node at (1,-0.3) {$3$};
\node at (2,-0.3) {$3$};
\end{tikzpicture}
\end{document}