JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.6]
	\draw (0,0) -- (2,0) -- (4,0) -- (8,0) -- (10,0);
	\draw (0,2) -- (2,2) -- (4,2) -- (8,2) -- (10,2);
	\draw (0,0) -- (0,2);
	\draw (2,0) -- (2,2);
	\draw (6,0) -- (6,2);
	\node () at (4,1) {$\cdots$};
	\draw (8,0) -- (8,2);
	\draw (10,0) -- (10,2);
	
	\node[fill=white, scale=0.6] at (0,1) {$i$};
	\node[fill=white, scale=0.6] at (10,1) {$j$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}

\tikzset{
  dot/.style={draw,fill,circle,inner sep=0pt,minimum size=3pt},
}

\begin{document}
\begin{tikzpicture}
  \path (0,0) node (x)[dot][label={below:\( x=(2,0) \)}]{};
  \path (x) --++(2,0) node (y)[dot][label={below:\( y=(0,2) \)}]{};
  \draw (x) --++(0,1) node (01)[dot][label={\( (0,1) \)}]{} --++(2,0) node (10)[dot][label={\( (1,0) \)}]{} --(y);
  \draw (x) --+(0.5,0.5) node (12)[dot][label={[font=\scriptsize,xshift=7pt,yshift=-3pt]\( (1,2) \)}]{} -- (01);
  \draw (y) --+(-0.5,0.5) node (21)[dot][label={[font=\scriptsize,xshift=-7pt,yshift=3pt]below:\( (2,1) \)}]{} -- (10);
  \draw (12)--(21);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix,calc}

\begin{document}

\begin{tikzpicture}[shorten >=1pt, auto, node distance=2cm, thick,
	node_style/.style={circle,inner sep=0pt,minimum size=0.5cm,draw=blue,fill=blue!20!,font=\sffamily\large\bfseries},
	edge_style/.style={draw=black, thick},
	arrow_style/.style={draw=black,thick,->}]

	\node[node_style] (u4) at (-10.5,4) {4};
	\node[node_style] (u1) at (-9.5,3) {1};
	\node[node_style] (u3) at (-10.5,2) {3};
	\node[node_style] (u2) at (-8,3) {2};
	\node[node_style] (u5) at (-9,2) {5};
	\node[node_style] (u6) at (-9,4) {6};
	\draw[edge_style] (u1) edge (u2);
	\draw[edge_style] (u1) edge (u3);
	\draw[edge_style] (u1) edge (u4);
	\draw[edge_style] (u3) edge (u4);
	\draw[edge_style] (u2) edge (u5);
	\draw[edge_style] (u2) edge (u6);
	\draw[edge_style] (u3) edge (u5);

	\node[node_style] (u4) at (-5.5,4) {4};
	\node[node_style] (u3) at (-5.5,2) {3};
	\node[node_style] (u5) at (-4,2) {5};
	\node[node_style] (u6) at (-4,4) {6};
	\draw[edge_style] (u4) edge (u5);
	\draw[edge_style] (u6) edge (u3);
	\draw[edge_style] (u6) edge (u4);
	\draw[edge_style] (u3) edge (u4);
	\draw [-stealth,thick] (-7.5,3) -- node[above]{$LC_1$} (-6,3);

\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}

\begin{document}
\begin{tikzpicture}
\draw [decorate,decoration=snake, ultra thick] (-1.732/2,1.732/2) node[anchor=east] {$W_L^+,p_\mu$} -- (0,0);
\draw [decorate,decoration=snake, ultra thick] (-1.732/2,-1.732/2) node[anchor=east] {$W_L^+,k_\mu$} -- (0,0);
\draw [decorate,decoration=snake, ultra thick] (0,0) -- (1.732/2,1.732/2) node[anchor=west] {$W_L^+,p'_\mu$};
\draw [decorate,decoration=snake, ultra thick] (0,0) -- (1.732/2,-1.732/2) node[anchor=west] {$W_L^+,k'_\mu$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\newcommand{\portasr}[2]{
  \draw[fill=black!10, thin] (#1-.4,#2-.4) rectangle (#1+.4,#2+.4); 
  \draw[thick,color=black!50] (#1-.3,#2+.2) -- (#1,#2+.2);
  \draw[draw=none,fill=black!50] (#1+.3,#2+.2) -- (#1-.15,#2+.3) -- (#1-.15,#2+.1);
  \draw[thin] (#1-.4,#2-.4) --  (#1-.5,#2-.5);
  \draw[thin] (#1+.4,#2-.4) --  (#1+.5,#2-.5);
  \draw[thin] (#1+.4,#2+.4) --  (#1+.5,#2+.5);
  \draw[thin] (#1-.4,#2+.4) --  (#1-.5,#2+.5);
}

\newcommand{\portatq}[2]{
  \draw[fill=black!10, thin] (#1-.4,#2-.4) rectangle (#1+.4,#2+.4); 
  \draw[thick,color=black!50] (#1+.3,#2-.2) -- (#1,#2-.2);
  \draw[draw=none,fill=black!50] (#1-.3,#2-.2) -- (#1+.15,#2-.3) -- (#1+.15,#2-.1);
  \draw[thin] (#1-.4,#2-.4) --  (#1-.5,#2-.5);
  \draw[thin] (#1+.4,#2-.4) --  (#1+.5,#2-.5);
  \draw[thin] (#1+.4,#2+.4) --  (#1+.5,#2+.5);
  \draw[thin] (#1-.4,#2+.4) --  (#1-.5,#2+.5);
}

\begin{document}
\begin{tikzpicture}[baseline=-2]
  \draw[blue!30, very thick] (-.5,-.5)--(-.5,.5)--(2.5,.5)--(2.5,-.5)--(-.5,-.5);
  \portasr{2}{0} \portatq{0}{0}
  \filldraw (.5,.5) circle (.05);
  \filldraw (-.5,.5) circle (.05);
  \filldraw (-.5,-.5) circle (.05);
  \filldraw (.5,-.5) circle (.05);
  \filldraw (2.5,.5) circle (.05);
  \filldraw (1.5,.5) circle (.05);
  \filldraw (1.5,-.5) circle (.05);
  \filldraw (2.5,-.5) circle (.05);
  \draw (.5,.9) node {$_0$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing,decorations.markings}

\tikzset{
  graviton/.style={line width=.8pt, double, -latex, decorate, decoration={snake, segment length=7pt, amplitude=1.4pt, pre length=.1cm, post length=.1cm}},
  worldline/.style={gray, line width=1pt},
  worldlineBold/.style={black, line width=.6pt},
  zUndirected/.style={line width=1pt},
  zParticle/.style={line width=1pt, postaction={decorate}, decoration={markings, mark=at position .6 with {\arrow[#1]{latex}}}},
  zParticleF/.style={line width=1pt, postaction={decorate}},
  cscalar/.style={line width=1pt, postaction={decorate}, decoration={markings, mark=at position .6 with {\arrow[#1]{latex}}}},
  cscalar2/.style={line width=1pt, postaction={decorate}, decoration={markings, mark=at position .8 with {\arrow[#1]{latex}}}},
  psiParticle/.style={line width=1pt, dashed, postaction={decorate}},
  psiParticleDirected/.style={line width=1pt, dashed, postaction={decorate}, decoration={markings, mark=at position .56 with {\arrow[#1]{latex}}}},
  photon/.style={line width=.8pt, -latex, decorate, decoration={snake, segment length=7pt, amplitude=1.4pt, pre length=.1cm, post length=.1cm}},
  photon2/.style={line width=.8pt, decorate, decoration={snake, segment length=7pt, amplitude=1.4pt, pre length=.1cm, post length=0cm}},
  Scalar/.style={line width=1pt, dashed, postaction={decorate}},
}

\begin{document}
\begin{tikzpicture}[baseline]
  \coordinate (in) at (-2,0);
  \coordinate (out) at (2,0);
  \coordinate (x) at (-1,0);
  \coordinate (y) at (1,0);
  \coordinate (top) at (0,1.5);
  \node (second) at (0,0.5) {$\rightarrow\omega_2$};
  \node (topw) at (0,1.8) {$\rightarrow\omega_n$};
  \node (k1) at (-1,-1.5) {$\mu_1$};
  \node (k2) at (1,-1.5) {$\mu_2$};
  \node (dots) at (0,1.2) {$\vdots$};
  \draw (out) node [right] {};
  \draw [dotted] (in) -- (x);
  \draw [zUndirected] (x) -- (y) node [midway, below] {$\rightarrow\omega_1$};
  \draw [zUndirected] (x) to [out=40, in=200] (second) to [out=-20, in=140] (y);
  \draw [zUndirected] (x) to [out=90, in=180] (top) to [out=0, in=90] (y);
  \draw [dotted] (y) -- (out);
  \draw [photon] (x) -- (k1) node [midway, right]{$k_1$};
  \draw [photon] (y) -- (k2) node [midway, right]{$k_2$};
  \draw [fill] (x) circle (.08);
  \draw [fill] (y) circle (.08);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[baseline=(vert_cent.base)]
    \node (vert_cent) at (0,1) {$\phantom{\cdot}$};
    \draw[dashed] (0,2) -- (0,0);
    \draw[thick] (-1.25,0) -- (1.25,0);
    \filldraw (0,0) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}

\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
    \draw[->, >=latex] (1,110) -- (75,110);
    \node[anchor=north west, inner sep=0.75pt] at (80,102) {$=G^{(0)}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\usetikzlibrary{shapes.misc, positioning, shapes, shadows, patterns}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    xlabel={Number of example cases},
    ylabel={Accuracy},
    xmin=2, xmax=16,
    ymin=0, ymax=1,
    legend pos=north west,
    legend columns=2,
    ymajorgrids=true,
    grid style=dashed,
]

\addplot[
    color=green,
    mark=o,
    ]
    coordinates {
    (2,0.316)(4,0.404)(6,0.512)(8,0.504)(10,0.564)(12,0.576)(14,0.588)(16,0.604)
    };

\addplot[
    color=green,
    mark=o,
    dashed
    ]
    coordinates {
    (2,0.264)(4,0.272)(6,0.292)(8,0.252)(10,0.256)(12,0.268)(14,0.268)(16,0.268)
    };

\addplot[
    color=blue,
    mark=diamond,
    ]
    coordinates {
    (2,0.12)(4,0.153)(6,0.168)(8,0.175)(10,0.172)(12,0.161)(14,0.128)(16,0.169)
    };

\addplot[
    color=blue,
    mark=diamond,
    dashed
    ]
    coordinates {
    (2,0.124)(4,0.152)(6,0.108)(8,0.136)(10,0.156)(12,0.176)(14,0.196)(16,0.224)
    };

\addplot[
    color=cyan,
    mark=square,
    ]
    coordinates {
    (2,0.364)(4,0.516)(6,0.563)(8,0.544)(10,0.596)(12,0.632)(14,0.628)(16,0.632)
    };

\addplot[
    color=cyan,
    mark=square,
    dashed
    ]
    coordinates {
    (2,0.325)(4,0.390)(6,0.398)(8,0.423)(10,0.422)(12,0.430)(14,0.428)(16,0.476)
    };

\addplot[
    color=orange,
    mark=halfcircle*,
    ]
    coordinates {
    (2,0.104)(4,0.188)(6,0.18)(8,0.168)(10,0.136)(12,0.164)(14,0.124)(16,0.164)
    };

\addplot[
    color=orange,
    mark=halfcircle*,
    dashed
    ]
    coordinates {
    (2,0.004)(4,0.008)(6,0.004)(8,0.016)(10,0.008)(12,0.000)(14,0.008)(16,0.008)
    };

\addplot[
    color=red,
    mark=x,
    ]
    coordinates {
    (2,0.152)(4,0.144)(6,0.116)(8,0.08)(10,0.108)(12,0.136)(14,0.128)(16,0.112)
    };

\addplot[
    color=red,
    mark=x,
    dashed
    ]
    coordinates {
    (2,0.02)(4,0.06)(6,0.02)(8,0.02)(10,0.032)(12,0.052)(14,0.04)(16,0.015)
    };

\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.4]
\foreach \x in {0,...,2}
  \draw[xshift=\x cm,thick,fill=black] (\x cm,0) circle (.3cm);
\foreach \y in {0.15,...,1.15}
  \draw[xshift=\y cm,thick] (\y cm,0) -- +(1.4 cm,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.4]
   \filldraw[fill=lightgray, opacity=.5, very thick] (-5,0) -- (1.5,0) -- (-5,5) -- cycle;
   \draw[dashed] (-5,0) -- (5,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{xcolor}

\begin{document}

\begin{tikzpicture}[scale=0.60]
\begin{axis}[
    xtick=data,
    symbolic x coords={50, 100, 500, 1000, 5000},
    xlabel={Message Size [KB]},
    ylabel={Goodput [MB/s]},
    legend style={at={(0.39,-0.2)},anchor=north,legend columns=2},
    ymajorgrids=true,
    grid style=dashed,
]
% Multi-Process
\addplot[red,every mark/.append style={solid,fill=red!80!black},mark=square*]
    coordinates {
    (50, 167.74)
    (100, 165.3)
    (500, 156.77)
    (1000, 136.71)
    (5000, 126.13)
};
% Multi-Process SHM
\addplot[violet,every mark/.append style={solid,fill=violet!80!black},mark=oplus]
    coordinates {
    (50, 21.97)
    (100, 43.94)
    (500, 219.72)
    (1000, 439.45)
    (5000, 540.18)
};
% Composition
\addplot[blue,every mark/.append style={fill=blue!80!black},mark=*]
    coordinates {
    (50, 623.87)
    (100, 922.71)
    (500, 658.35)
    (1000, 541.17)
    (5000, 633.91)
};
% Composition IPC
\addplot[lime!80!black,every mark/.append style={fill=lime},mark=diamond*]
    coordinates {
    (50, 978.51)
    (100, 1667.97)
    (500, 2875.57)
    (1000, 2980.60)
    (5000, 3064.31)
};
\legend{Multi-Process, Multi-Process w/ loaned-msg, Composition, Comp. w/ IPC}
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\def\l{1.2};
\def\r{2};
\def\s{3};
\draw (0.5*\s,0*\l) -- (0,-1*\l) -- (0.5*\s,-2*\l);
\draw (0.5*\s,-1*\l) -- (0,-2*\l);

\draw[thick, fill] (0.5*\s,0*\l) -- (0.5*\s,-1*\l) circle (\r pt) node[xshift = 0.5cm] {$x_{i_1}$} -- (0.5*\s,-2*\l) circle (\r pt) node[xshift = 0.5cm] {$x_{i_2}$};
\draw[thick, fill = white] (0.5*\s,0*\l) circle (\r pt) node[xshift = 0.5cm] {$x_{i_0}$};

\draw[thick, fill] (0,0) -- (0,-1*\l) circle (\r pt) node[xshift = -0.5cm] {$y_{j_1}$} -- (0,-2*\l) circle (\r pt) node[xshift = -0.5cm] {$y_{j_2}$} -- (0,-3*\l) circle (\r pt) node[xshift = -0.5cm] {$y_{j_3}$};
\draw[thick, fill = white] (0,0) circle (\r pt) node[xshift = -0.5cm] {$y_{j_0}$};
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.4]
\coordinate (base) at (0, 0);
\node[fill, circle, minimum size=2mm, inner sep=0] at (0, 0) {};
\node[fill, circle, minimum size=2mm, inner sep=0] at (3, 0) {};
\draw (0, 0) -- (3, 0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}

\begin{document}

\begin{tikzpicture}[scale=0.4]
  \coordinate (base) at (0,1);
  \draw (0,0) node[fill,circle,minimum size=2mm,inner sep=0]{};
  \draw (3,0) node[fill,circle,minimum size=2mm,inner sep=0]{};
  \draw (0,3) node[fill,circle,minimum size=2mm,inner sep=0]{};
  \draw (3,3) node[fill,circle,minimum size=2mm,inner sep=0]{};
  \draw (3,0) -- (0,0) -- (0,3) -- (3,3);
  \draw (0,0) to [out=-30,in=-135] (3.5,-0.5) to [out=45,in=-60] (3,3);
  \node at (1.5,-2){$\sigma = (\frac32,1,\frac32)$};
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.6]
\draw [line width=0.05cm] (-3.5,-3.8) --(-3.5,1.5);
\draw [line width=0.05cm] (2.5,-3.8) --(2.5,0.5);
\draw [thick] (-3.5,1.5)--(2.5,0.5);

\draw [thin] (-3, 1.4) --(-2.6, 1.8);
\draw [thin] (-2.6, 1.35) --(-2.2, 1.75);
\draw [thin] (-2.2, 1.30) --(-1.8, 1.70);
\draw [thin] (-1.8, 1.23) --(-1.4, 1.63);
\draw [thin] (-1.4, 1.16) --(-1.0, 1.56);
\draw [thin] (-1.0, 1.10) --(-0.6, 1.50);
\draw [thin] (-0.6, 1.03) --(-0.2, 1.43);
\draw [thin] (-0.2, 0.97) --(0.2, 1.37);
\draw [thin] (0.2, 0.9) --(0.6, 1.30);
\draw [thin] (0.6, 0.83) --(1, 1.23);
\draw [thin] (1, 0.76) --(1.4, 1.16);
\draw [thin] (1.4, 0.67) --(1.8, 1.07);
\draw [thin] (1.8, 0.60) --(2.2, 1.0);
\draw [thin] (2.2, 0.55) --(2.6, 0.95);

\draw [thick](-2.5,-1.5)--(-0.5,1);
\draw [thick,red](-0.5,1)--(1.7,-1.0);

\draw [thick,<-] (1.5,2.2)--(0.6,1.5);

\node at (1.8, 2.4){$\mathbf{n}_{2}$};
\node at (0.2, -2.8){$\Omega_{2}$};
\node at (3.3, 0.4){$\Gamma_{2}$};
\node at (-2.6, -1.9){$\alpha_{k}$};
\node at (2.1, -1.1){$\beta_{1}$};
\node at (-0.4, -1.0){$U^{(\tau)}_{b}$};
\node at (-2.2, 0.2){$U^{(\tau),-}_{\Gamma_2}$};
\node at (1.7, -0.1){$U^{(\tau),+}_{\Gamma_2}$};
\node at (-3.5, -4.5){$x_{2}$};
\node at (2.5, -4.5){$x_{3}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=3]
	\draw[->] (-1.1, 0) -- (1.1, 0) node[right] {$x$};
	\draw[->] (0, -1.1) -- (0, 1.1) node[above] {$y$};
	\foreach \c in {-1.0, -0.9, ..., 1.0}
	{
		\draw ({(-1-\c)/2}, {(1-\c)/2}) -- ({(1+\c)/2}, {(-1+\c)/2});
    }
    \draw (-0.5,-0.5) node {$-1$};
    \draw (0.5,0.5) node {$+1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1, bullet/.style={circle,inner sep=1.5pt,fill}]

 \begin{scope}  
  \path
   (0,0) node[bullet,red](A){}
   (2,0) node[bullet,red](B){};
   \draw[line width=1pt] (A) -- (B);
 \end{scope} 

\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=.5]
\draw[thick] (0,0) -- (0,3) -- (3,3);
\draw[dashed] (0,0) -- (3,3);
\end{tikzpicture}

\end{document}
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,shapes}

\tikzset{
  modal/.style={
    >=stealth', shorten >=1pt, shorten <=1pt, auto,
    node distance=1.5cm, semithick
  },
  world/.style={
    circle, draw, minimum size=1cm
  },
  reflexive/.style={
    ->, in=120, out=60, loop, looseness=#1
  },
  reflexive/.default=5
}

\begin{document}
\begin{tikzpicture}[modal, node distance=1cm, world/.append style={minimum size=1cm}]
  \node[world] (w0) [label=below:{$w_0$}] {$p^+$};
  \node[left=of w0] {$\mathfrak{M}$:};
  \path[->] (w0) edge[reflexive] (w0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}
\begin{tikzpicture}[scale=2]
\node (A) at (0,0) {$B$};
\node (B) at (1,0) {$X$};
\node (C) at (0,1) {$C$}; 
\node (D) at (1,1) {$\mathcal{M}^\circ$}; 
\draw [->] (A) to node[below] {$f$} (B);
\draw [->] (D) to node[right] {$p$} (B);
\draw [->] (C) to node[above] {$h$} (D);
\draw [->] (C) to node[left] {$\pi$} (A);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning,calc}

\tikzset{
  rve/.style={ellipse, draw, thick, minimum size=6mm, inner sep=0.3mm},
  deg/.style={->, very thick}
}

\begin{document}
\begin{tikzpicture}[node distance=15mm, >=stealth]
\begin{scope}
  \node[rve] (T) {$T$};
  \node[above of=T, yshift=-4mm] (number) {$(1)$};
  \node[rve, right of=T] (Y) {$Y$};
  \node[rve, yshift=8mm] (A) at ($(T)!.45!(Y)$) {$C_1$};
  \node[rve, yshift=-8mm] (B) at ($(T)!.45!(Y)$) {$C_2$};
  \node[inner sep=0] (m) at ($(T)!.45!(Y)$) {};
  \draw[deg] (T) to (Y);
  \draw[deg] (A) to (m);
  \draw[deg] (B) to (m);
\end{scope}
\begin{scope}[xshift=2.5cm]
  \node[rve] (T) {$T$};
  \node[above of=T, yshift=-4mm] (number) {$(2)$};
  \node[rve, above right of=T, yshift=-4mm] (C1) {$C_1$};
  \node[rve, below right of=T, yshift=4mm] (C2) {$C_2$};
  \node[rve, above right of=C2, yshift=-4mm] (Y) {$Y$};
  \draw[deg] (C1) to (T);
  \draw[deg] (C2) to (T);
  \draw[deg] (C1) to (Y);
  \draw[deg] (T) to (Y);
  \draw[deg] (C2) to (Y);
\end{scope}
\begin{scope}[xshift=5.5cm]
  \node[rve] (T) {$T$};
  \node[rve, above right of=T, yshift=-4mm] (C1) {$C_1$};
  \node[rve, below right of=T, yshift=4mm] (C2) {$C_2$};
  \node[rve, above right of=C2, yshift=-4mm] (Y) {$Y$};
  \node[above of=T, yshift=-4mm] (number) {$(3)$};
  \draw[deg] (T) to (C1);
  \draw[deg] (T) to (C2);
  \draw[deg] (C1) to (Y);
  \draw[deg] (T) to (Y);
  \draw[deg] (C2) to (Y);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    title={$\sigma_1(M)=20, \ \sigma_3(M)=0$},
    xlabel={$\sigma_2(M)$}, xmin=0, xmax=20,
    ylabel={risk}, ymin=0, ymax=31,
    width=0.45\linewidth
]
\addplot[thick, color=black,
    filter discard warning=false, unbounded coords=discard
] table {
0   16.3957
1.0000   17.1071
2.0000   18.6795
3.0000   20.2608
4.0000   21.4868
5.0000   22.2461
6.0000   22.7175
7.0000   22.9768
8.0000   23.1834
9.0000   23.2943
10.0000   23.3902
11.0000   23.4709
12.0000   23.5347
13.0000   23.5988
14.0000   23.6282
15.0000   23.6586
16.0000   23.6236
17.0000   23.6407
18.0000   23.6504
19.0000   23.6430
20.0000   23.5929
};
\addplot[dashed, thick, color=black,
    filter discard warning=false, unbounded coords=discard
] table {
0   17.8886
1.0000   18.5126
2.0000   19.8290
3.0000   21.0409
4.0000   21.9492
5.0000   22.5101
6.0000   22.8904
7.0000   23.0995
8.0000   23.2832
9.0000   23.3810
10.0000   23.4595
11.0000   23.5352
12.0000   23.5990
13.0000   23.6604
14.0000   23.6928
15.0000   23.7257
16.0000   23.7010
17.0000   23.7378
18.0000   23.7836
19.0000   23.8171
20.0000   23.7831
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\tikzset{
  every node/.style={circle, draw, fill=black, inner sep=0pt, minimum width=4pt}
}

\begin{document}
\begin{tikzpicture}[thick]
  \draw[dashed] (-7,0) -- (6,0);
  \draw[dashed] (-7,1) -- (6,1);
  \draw[dashed] (-7,2) -- (6,2);
  \draw[dashed] (-7,3) -- (6,3);
 
  % links
  \draw (-5.5,0) -- (-5.5,1) -- (-5.5,2) -- (-5.5,3);

  \draw (-4,0) -- (-4.5,1) -- (-4,2);
  \draw (-4,0) -- (-3.5,1) -- (-4,2);

  \draw (-2,1) -- (-2.5,2) -- (-2,3);
  \draw (-2,1) -- (-1.5,2) -- (-2,3);

  \draw (0,0) -- (-0.5,1) -- (0,3);
  \draw (0,0) -- (0.5,1) -- (0,3);

  \draw (2,0) -- (2.5,2) -- (2,3);
  \draw (2,0) -- (1.5,2) -- (2,3);

  \draw (4,0) -- (4.5,1) -- (4,3);
  \draw (4,0) -- (3.5,2) -- (4,3);

  % nodes
  \foreach \x/\y in {
    -5.5/0, -5.5/1, -5.5/2, -5.5/3,
    -4/0, -4.5/1, -3.5/1, -4/2,
    -2/1, -2.5/2, -1.5/2, -2/3,
    0/0, -0.5/1, 0.5/1, 0/3,
    2/0, 2.5/2, 1.5/2, 2/3,
    4/0, 4.5/1, 3.5/2, 4/3
  } {
    \node at (\x,\y) {};
  }
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1.25,pin distance=0.5cm]
\draw[xstep=0.2,ystep=0.25,gray,very thin] (0,0) grid (5,4);
\draw[thick,->] (-0.2,0) -- (5.2,0); 
\draw (2.5,4.25) node {\bf CDS};
\draw (2.5,-.5) node {Number of Sentences};
\draw[thick,->] (0,0) -- (0,4.2) node[below left] {EER};
\foreach \x in {1, 5, 10, 20, 25}
  \draw (\x/5,1pt) -- (\x/5,-1pt) node[below] {\x};
\foreach \y in {0.05,0.10,0.15,0.20,0.25,0.30,0.35}
  \draw (1pt,10*\y) -- (-1pt,10*\y) node[left] {\y};

\definecolor{c0}{RGB}{51,34,136}
\definecolor{c1}{RGB}{136,204,238}
\definecolor{c2}{RGB}{68,170,153}
\definecolor{c3}{RGB}{17,119,51}

% sbert:
\draw[c0!20,fill=c0!20,ultra thick]
(0.200,4.0924) -- (1.000,2.8072) -- (2.000,2.1383) -- (4.000,1.5218) -- (5.000,1.2498) -- (5.000,1.1949) -- (4.000,1.4650) -- (2.000,2.0636) -- (1.000,2.7260) -- (0.200,4.0040);
\draw[ultra thick,c0]
(0.200,4.0463) -- (1.000,2.7651) node[pin=30:SBERT]{} -- (2.000,2.0987) -- (4.000,1.4931) -- (5.000,1.2251);

% uar:
\draw[c1!20,fill=c1!20,ultra thick]
(0.200,3.7255) -- (1.000,2.3029) -- (2.000,1.8364) -- (4.000,1.2048) -- (5.000,1.0239) -- (5.000,0.9654) -- (4.000,1.1437) -- (2.000,1.7676) -- (1.000,2.2328) -- (0.200,3.6416);
\draw[ultra thick,c1]
(0.200,3.6853) -- (1.000,2.2694) -- (2.000,1.8019) -- (4.000,1.1740) node[pin=330:UAR]{} -- (5.000,0.9937);

% uarCrud:
\draw[c2!20,fill=c2!20,ultra thick]
(0.200,3.8398) -- (1.000,2.4418) -- (2.000,2.0696) -- (4.000,1.4829) -- (5.000,1.3093) -- (5.000,1.2404) -- (4.000,1.4170) -- (2.000,1.9991) -- (1.000,2.3738) -- (0.200,3.7543);
\draw[ultra thick,c2]
(0.200,3.7981) -- (1.000,2.4090) -- (2.000,2.0341) -- (4.000,1.4494) -- (5.000,1.2751) node[pin=110:UAR23]{} ;

% uar2019:
\draw[c3!20,fill=c3!20,ultra thick]
(0.200,3.4276) -- (1.000,1.6559) -- (2.000,0.9447) -- (4.000,0.4371) -- (5.000,0.3555) -- (5.000,0.3343) -- (4.000,0.4072) -- (2.000,0.9029) -- (1.000,1.5948) -- (0.200,3.3517);
\draw[ultra thick,c3]
(0.200,3.3897) -- (1.000,1.6230) -- (2.000,0.9239) -- node[pin=200:UAR19]{} (4.000,0.4221) -- (5.000,0.3451);
\end{tikzpicture}
\end{document}