JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{positioning}

\begin{document}

\begin{tikzpicture}[->,>=stealth',auto,node distance=2cm, el/.style = {inner sep=2pt, align=left, sloped}]
	\node (1) at (0,0) {\color{olive}$B$};

	\node (2) at (-1,-1.5) {\color{teal}$A$} ; 
	\node (3) at (-2,-0.75) {\color{teal}$A$};
	\node (4) at (2.5,-1.5) {$(\alpha,\alpha-\epsilon)$};
	\node (5) at (4.5,-1.5) {\color{teal}$A$};
	\node (24) at (0.5,-1.5) {$(\textcolor{red}{c}+\alpha,\textcolor{red}{-c}+\alpha)$};
	\node (6) at (-3.5,-2.5) {$(-a,-b)$};
	\node (7) at (-2.5,-2.85) {\color{olive}$B$};
	\node (8) at (-1,-2.75) {$(\alpha-\epsilon,\alpha)$};
	\node (9) at (-5,-1.25) {$(b-f+\alpha,-b)$};
	\node (10) at (-4,-1.75) {$(-d_B+\alpha,d_B+\alpha-\epsilon)$};
	\node (11) at (5,-4.5) {\color{olive}$B$};
	\node (12) at (2.25,-2.5) {$(\rho+\alpha-\epsilon,\rho+\alpha)$};
	\node (13) at (4,-3) {\color{olive}$B$};


	\node (14) at (-5,-3.5) {$(-a,a-f+\alpha)$};
	\node (15) at (-3.75,-4) {$(d_A+\alpha-\epsilon,-d_A+\alpha)$};

	\node (16) at (-1,-5.5) {\color{teal}$A$};
	\node (17) at (0.25,-6) {$(\rho+\alpha,\rho+\alpha-\epsilon)$};
	\node (18) at (1.4,-6.5) { $(\textcolor{red}{c+p_B}+\rho+\alpha,\textcolor{red}{-c-p_B}+\rho+\alpha)$};
	\node (19) at (3.9,-7) {$(-a\,\textcolor{red}{+p_B}+\rho,-b\,\textcolor{red}{-p_B}+\rho)$};

	\node (20) at (2,-4) {$(-a\textcolor{red}{+p_B}+\rho,a\,\textcolor{red}{-p_B}-f+\rho+\alpha)$};
	\node (21) at (0.25,-3.5) {$(d_A+\rho+\alpha-\epsilon, -d_A+\rho+\alpha)$};

	\node (22) at (-2.5,-7) {$(b \textcolor{red}{+p_B}-f +\rho+\alpha,-b\, \textcolor{red}{-p_B} +\rho)$};
	\node (23) at (-4,-6) {$(-d_B+\rho+\alpha,d_B+\rho+\alpha-\epsilon)$};	

	{\color{olive}
	\path (1) edge  node [left] {\tiny $I$}  (2);
	\path (1) edge  node [above, pos=0.7] {\tiny $D$}  (3); 
	\path (1) edge  node [right] {\tiny $H$} (4);
	\path (1) edge  node [above, pos=0.4] {\tiny $A$}  (5);
	\path (1) edge  node [right] {\tiny $S$}  (24);}

	{\color{teal}
	\path (2) edge   node [above, pos=0.4] {\tiny $I$} (6);
	\path (2) edge   node [left, pos=0.5] {\tiny $D$} (7); 
	\path (2) edge   node [left] {\tiny $H$} (8);

	\path (3) edge  node [above, pos=0.7] {\tiny $P$}  (9);
	\path (3) edge  node [above, pos=0.7] {\tiny $I$} (10);

	\path (5) edge  node [right, pos=0.4] {\tiny $I$}  (11); 
	\path (5) edge  node [below] {\tiny $H$}  (12);
	\path (5) edge  node [right, pos=0.7] {\tiny $D$}  (13);}

	{\color{olive}
	\path (7) edge  node [above] {\tiny $P$}  (14);
	\path (7) edge  node [right] {\tiny $I$}  (15);

	\path (11) edge  node [above] {\tiny $D$} (16); 
	\path (11) edge  node [above, pos=0.7] {\tiny $H$}  (17);
	\path (11) edge  node [above, pos=0.65] {\tiny $S$}  (18);
	\path (11) edge  node [left] {\tiny $I$}  (19);

	\path (13) edge  node [below] {\tiny $P$}  (20);
	\path (13) edge  node [above] {\tiny $I$}  (21);}

	{\color{teal}
	\path (16) edge  node [right] {\tiny $P$}  (22);
	\path (16) edge  node [above] {\tiny $I$}  (23);}
\end{tikzpicture}

\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[-,thick] (-0.65,-0.5)--(-0.65,0.5);
\draw[-] (-0.5,-0.2)--(-0.5,0.2)--(0.5,0.2)--(0.5,-0.2)--(-0.5,-0.2);
\node at (0,0) {$\scriptstyle{g}$};
\draw[-,thick] (-0.4,-0.2)--(-0.4,-0.5);
\draw[-,thick] (0.4,-0.2)--(0.4,-0.5);
\draw[-,thick] (-0.4,0.2)--(-0.4,0.5);
\draw[-,thick] (0.4,0.2)--(0.4,0.5);
\node at (-0.2,0.35) {$\cdot$};
\node at (0,0.35) {$\cdot$};
\node at (0.2,0.35) {$\cdot$};
\node at (-0.2,-0.4) {$\cdot$};
\node at (0,-0.4) {$\cdot$};
\node at (0.2,-0.4) {$\cdot$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.8]
\draw[-,thick](0,0)--(0.4,0.5);
\draw[-,thick](0,0.5)--(0.4,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}

\tikzset{
  ->-/.style={decoration={markings, mark=at position #1 with {\arrow{>}}}, postaction={decorate}},
  -<-/.style={decoration={markings, mark=at position #1 with {\arrow{<}}}, postaction={decorate}},
  anchorbase/.style={baseline={([yshift=-0.5ex]current bounding box.center)}}
}

\newcommand{\braidto}{to[out=up,in=down]}
\newcommand{\tobraid}{to[out=down,in=up]}

\begin{document}
\begin{tikzpicture}[anchorbase]
  \draw[->] (0,-.6) \braidto (.4,0) \braidto (0,.6);
  \draw[->] (.5,-.6) \braidto (0.1,0) \braidto (.5,.6);
  \draw[->] (.75,.6) to (.75,-.6);
  \draw[->] (.25,.6) \tobraid (.625,0) \tobraid (.25,-.6);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1.8]
\draw[-,thick](0,0)--(0.4,0.6);
\draw[-,thick](0.4,0)--(0,0.6);
\draw[-,thick] (.13,.4)--(-.01,.4);
\node at (-.01,.4) {$\bullet$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1]
  \node[inner sep=0.3mm] (em) at (1,0) {\footnotesize $(0,0)$};
  \node[inner sep=0.3mm] (s1) at (0,0.75) {\footnotesize $(2,1)$};
  \node[inner sep=0.3mm] (s3) at (2,0.75) {\footnotesize $(2,1)$};
  \node[inner sep=0.3mm] (s12) at (0,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (s13) at (1,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (s23) at (2,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (s123) at (1,2.25) {\footnotesize $(8,3)$};

  \foreach \from/\to in {em/s1, em/s3, s1/s12, s1/s13, s3/s23, s3/s13, s12/s123, s13/s123, s23/s123}
    \draw (\from) -- (\to);

  \node[inner sep=0.3mm] (em2) at (5,0) {\footnotesize $(0,0)$};
  \node[inner sep=0.3mm] (1) at (4,0.75) {\footnotesize $(2,1)$};
  \node[inner sep=0.3mm] (3) at (6,0.75) {\footnotesize $(2,1)$};
  \node[inner sep=0.3mm] (12) at (6,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (13) at (5,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (23) at (7,1.5) {\footnotesize $(4,2)$};
  \node[inner sep=0.3mm] (123) at (6,2.25) {\footnotesize $(8,3)$};

  \foreach \from/\to in {em2/1, em2/3, 3/12, 1/13, 3/23, 3/13, 12/123, 13/123, 23/123}
    \draw (\from) -- (\to);
\end{tikzpicture}

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

\begin{document}
\begin{tikzpicture}[>=angle 90]
\draw [thick] (1,0.5) -- (-0.6,-0.3);
\draw [thick] [<-] (-0.6,-0.3) -- (-1,-0.5);
\draw [thick] [->] (-1,0.5) -- (-.6,0.3);
\draw [thick] (-.6,0.3) -- (-.2,0.1);
\draw [thick] (0.2,-0.1) -- (1,-0.5);

\draw [thick] (6,0.5) -- (4.4,-0.3);
\draw [thick] [<-] (4.4,-0.3) -- (4,-0.5);
\draw [thick] (4,0.5) -- (4.4,0.3);
\draw [thick] [<-] (4.4,0.3) -- (4.8,0.1);
\draw [thick] (5.2,-0.1) -- (6,-0.5);

\node at (0,-1.4) {$w(c)=-1$};
\node at (5,-1.4) {$w(c)=1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  \draw (0,0)--(2,0);
  \draw (0,1)--(3,1);
  \draw (1,2)--(4,2);
  \draw (1,3)--(4,3); 
  \draw (2,4)--(4,4); 

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

  \node at (0.5,0.5){$A$};
  \node at (1.5,0.5){$B$};
  \node at (1.5,1.5){$C$};
  \node at (2.5,1.5){$D$};
  \node at (1.5,2.5){$E$};
  \node at (2.5,2.5){$F$};
  \node at (3.5,2.5){$G$};
  \node at (2.5,3.5){$H$};
  \node at (3.5,3.5){$I$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{trees}

\begin{document}
\begin{tikzpicture}[level distance=1.5cm,
  level 1/.style={sibling distance=3.5cm},
  level 2/.style={sibling distance=1.8cm}]
  \node {$||v||^2$}
    child {node {$v_1^2 + v_2^2$}
      child {node {$v_1^2$}
        child {node {$\mathrm{sgn}(v_1)$}}
        }
      child {node {$v_2^2$}
        child {node {$\mathrm{sgn}(v_2)$}}
        }
    }
    child {node {$v_3^2 + v_4^2$}
    child {node {$v_3^2$}
        child {node {$\mathrm{sgn}(v_3)$}}
        }
      child {node {$v_4^2$}
        child {node {$\mathrm{sgn}(v_4)$}}
        }
    };
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes, arrows}

\begin{document}
\begin{tikzpicture}[scale=0.7]
\draw[dashed] (-5,-5) grid (9,5);
\draw[thick] (0,0) -- (2,0) -- (4,0) -- (6,0) -- (8,0) -- (7,1) -- (6,2) -- (5,3) -- (4,4) -- (3,3) -- (2,2) -- (1,1) -- cycle;
\draw[thick] (1,1) -- (3,1) -- (2,0) -- cycle;
\draw[thick] (2,2) -- (4,2) -- (6,2) -- (5,1) -- (4,0) -- (3,1) -- cycle;
\draw[thick] (3,3) -- (5,3) -- (4,2) -- cycle;
\draw[thick] (5,1) -- (7,1) -- (6,0) -- cycle;
\draw[thick] (0,0) -- (-1,-1) -- (-2,-2) -- (-3,-3) -- (-4,-4) -- (-2,-4) -- (0,-4) -- (2,-4) -- (4,-4) -- (3,-3) -- (2,-2) -- (1,-1) -- cycle;
\draw[thick] (-1,-1) -- (1,-1) -- (0,-2) -- cycle;
\draw[thick] (-2,-2) -- (0,-2) -- (2,-2) -- (1,-3) -- (0,-4) -- (-1,-3) -- cycle;
\draw[thick] (-3,-3) -- (-1,-3) -- (-2,-4) -- cycle;
\draw[thick] (1,-3) -- (3,-3) -- (2,-4) -- cycle;

\fill (0,0) circle (2pt) node[above] {$0$};
\fill (2,0) circle (2pt) node[below] {$b_0$};
\fill (1,1) circle (2pt) node[above] {$a_0$};
\fill (4,0) circle (2pt) node[below] {$b_1$};
\fill (2,2) circle (2pt) node[above] {$a_1$};
\fill (8,0) circle (2pt) node[below] {$b_2$};
\fill (4,4) circle (2pt) node[above] {$a_2$};
\fill (1,-1) circle (2pt) node[below] {$b'_0$};
\fill (-1,-1) circle (2pt) node[below] {$a'_0$};
\fill (2,-2) circle (2pt) node[below] {$b'_1$};
\fill (-2,-2) circle (2pt) node[below] {$a'_1$};
\fill (4,-4) circle (2pt) node[below] {$b'_2$};
\fill (-4,-4) circle (2pt) node[below] {$a'_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,arrows}

\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center), very thick, scale=0.3]
\draw (-1,2) node [left] {$2$} -- (0,0) -- node [above] {$s$} (4,0) -- (5,2) node [right] {$3$};
\draw (-1,-2) node [left] {$1$} -- (0,0);
\draw (4,0) -- (5,-2) node [right] {$4$};
\end{tikzpicture}
\end{document}
\documentclass[standalone]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[baseline=29pt]
\draw[dashed] (-0.5,0) -- (3.5,0);
\draw[dashed] (-0.5,1.5) -- (3.5,1.5);
\draw (1.75,1) node{\footnotesize$\cdots$};
\draw[red] (0,0.2) -- (0,1.5) node[anchor=south]{\footnotesize$s$};
\draw[blue] (0.75,0.5) -- (0.75,1.5) node[anchor=south]{\footnotesize$t$};
\draw[purple] (3,1.2) -- (3,1.5) node[anchor=south]{\footnotesize$r$};
\draw[red,fill=red] (0,0.2) circle(0.06);
\draw[blue,fill=blue] (0.75,0.5) circle(0.06);
\draw[purple,fill=purple] (3,1.2) circle(0.06);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{matrix, arrows}

\begin{document}

\begin{tikzpicture}
  \matrix (m) [matrix of math nodes, row sep=3em, column sep=4em, minimum width=2em]
  {
   \cdots & C_{p+1} & C_p & C_{p-1} & \cdots \\
  };
  \path[-stealth]
    (m-1-1) edge (m-1-2)
    (m-1-2) edge node [above] {$\partial_{p+1}$} (m-1-3)
    (m-1-3) edge node [above] {$\partial_p$} (m-1-4)
    (m-1-4) edge (m-1-5);
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{matrix, arrows}

\begin{document}

\begin{tikzpicture}
  \matrix (m) [matrix of math nodes, row sep=3em, column sep=4em, minimum width=2em]
  {
    \pi_n(X, A, x_0) & \pi_{n-1}(A, x_0) \\
    \pi_n(Y, B, y_0) & \pi_{n-1}(B, y_0) \\
  };

  \path[-stealth]
    (m-1-1) edge node [above] {$\partial$} (m-1-2)
    (m-1-1) edge node [left] {$f_\ast$} (m-2-1)
    (m-1-2) edge node [right] {$g_\ast$} (m-2-2)
    (m-2-1) edge node [below] {$\partial$} (m-2-2);
\end{tikzpicture}

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

\begin{document}
\begin{tikzpicture}
\filldraw (0,0) circle (1pt) node[align=center, left] {$s$};
\filldraw (.6,0) circle (1pt) node[align=center, right] {$4$};
\filldraw (60:.5) circle (1pt) node[align=center, above] {$1$};
\filldraw (-60:.5) circle (1pt) node[align=center, right] {$2$};
\filldraw (.8,.5) circle (1pt) node[align=center, right] {$3$};
\draw (0,0) -- (60:.5);
\draw (0,0) -- (-60:.5);
\draw (60:.5) -- (.6,0);
\draw (60:.5) -- (.8,.5);
\draw (-60:.5) -- (.6,0);
\draw[dashed] (60:.5) to (-60:.5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}

\tikzset{
  ext/.style={circle, draw, inner sep=1pt},
  every picture/.style={baseline=-.65ex}
}

\begin{document}
\begin{tikzpicture}
  \node[ext] (v1) at (-.7,.5) {};
  \node[ext] (v2) at (0,.5) {};
  \node[ext] (v3) at (.7,.5) {};
  \node[ext] (v4) at (0,-.3) {};
  \node (w1) at (-1.2,.5) {$\scriptstyle 1$};
  \node (w2) at (1.2,.5) {$\scriptstyle 2$};
  \node (w3) at (0,-1) {$\scriptstyle 3$};
  \draw (v1) edge (v2) edge (v4) edge (w1)
        (v3) edge (v2) edge (v4) edge (w2)
        (v4) edge (w3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}
\begin{tikzpicture}[
    -, >=stealth, shorten >=1pt, auto, node distance=3cm,
    thick,
    main node/.style={circle, fill=blue!20, draw, minimum size=3mm, inner sep=0pt},
    scale=0.6
]
    \node[main node] (1) at (0,0) {};
    \node[main node] (2) at (-1,1) {};
    \node[main node] (3) at (-1,-1) {};
    \node[main node] (4) at (1,0) {};
    \node[main node] (5) at (2,0) {};

    \path[every node/.style={font=\sffamily\small}]
        (1) edge (2)
        (1) edge (3)
        (1) edge (4)
        (4) edge (5);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usepackage{amsmath}

\newcommand{\BDiff}{\mathrm{BDiff}}
\newcommand{\BdDiff}{\mathrm{BDiff}^{\delta}}

\begin{document}
\begin{tikzpicture}[node distance=1.8cm, auto]
  \node (A) {$\Omega^{\text{SO}}_*(\mathrm{B}G)$};
  \node (B) [right of=A, node distance=3cm] {$\Omega^{\text{SO}}_*(\BDiff_+(G)),$};
  \node (C) [above of=B] {$\Omega^{\text{SO}}_*(\BdDiff_+(G))$};  
  \draw [->] (A) to node {$\alpha_*$} (B);
  \draw [->] (C) to node {} (B);
  \draw [->] (A) to node {} (C);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  \draw[fill] (0,0) circle(0.05);
  \draw[fill] (2,0) circle(0.05);
  \draw[fill] (1,1.5) circle(0.05) node[left]{$v_1$};
  \draw[fill] (4,0) circle(0.05);
  \draw[fill] (3,1.5) circle(0.05) node[right]{$v_2$};
  \draw (1,1.5)--(0,0)--(2,0);
  \draw (2,0)--(4,0)--(3,1.5);
  \draw (1,1.5) arc(180:247.38:1.625);
  \draw (3,1.5) arc(0:-67.38:1.625);

  \begin{scope}[shift={(7,0)}]
    \draw[fill] (0,0) circle(0.05);
    \draw[fill] (2,0) circle(0.05);
    \draw[fill] (1,1.5) circle(0.05) node[above]{$v_0$};
    \draw (1,1.5)--(0,0)--(2,0);
    \draw (1,1.5) arc(180:247.38:1.625);
    \begin{scope}[rotate around={67.38:(2,0)}]
      \draw (3,1.5) arc(0:-67.38:1.625);
      \draw[fill] (4,0) circle(0.05);
      \draw[fill] (3,1.5) circle(0.05);
      \draw (2,0)--(4,0)--(3,1.5);
    \end{scope}
  \end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}

\begin{tikzpicture}
    \begin{feynman}[small]
        \vertex (a) {\(\pi^\pm\)};
        \vertex [right=1.0cm of a] (x);
        \vertex [below=0.05cm of x] (xl) {IB2};
        \vertex [above=0.8cm of x] (f2) {\(X=\phi, a, V\)};
        \vertex [right=1.6cm of a] (b);
        \vertex [above right=1.4cm of b] (f1) {\(\ell\)};
        \vertex [below right=1.4cm of b] (f3) {\(\nu\)};
        \diagram* {
        (a) -- [scalar] (b) -- (f1),
        (b) -- (f3),
        (x) -- (f2),
        };
    \end{feynman}
\end{tikzpicture}

\end{document}
\documentclass[tikz]{standalone}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{xcolor}
\usetikzlibrary{positioning, arrows.meta, shapes}

\begin{document}

\begin{tikzpicture}[>=Stealth, node distance=0.75cm]

	% Node for general factor
	\node[circle, draw] (g) {\emph{g}};

	% Nodes for measures
	\node[below=1cm of g, rectangle, draw] (v3) {\emph{v$_3$}};
	\node[right=of v3, rectangle, draw] (v4) {\emph{v$_4$}};
	\node[right=of v4, rectangle, draw] (v5) {\emph{v$_5$}};
	\node[left=of v3, rectangle, draw] (v2) {\emph{v$_2$}};
	\node[left=of v2, rectangle, draw] (v1) {\emph{v$_1$}};

	% Nodes for specific factors
	\node[below=1cm of v1, circle, draw] (s1) {\emph{s$_1$}};
	\node[below=1cm of v2, circle, draw] (s2) {\emph{s$_2$}};
	\node[below=1cm of v3, circle, draw] (s3) {\emph{s$_3$}};
	\node[below=1cm of v4, circle, draw] (s4) {\emph{s$_4$}};
	\node[below=1cm of v5, circle, draw] (s5) {\emph{s$_5$}};

	% Arrows
	\draw[->] (g) -- (v1);
	\draw[->] (g) -- (v2);
	\draw[->] (g) -- (v3);
	\draw[->] (g) -- (v4);
	\draw[->] (g) -- (v5);

	\draw[->] (s1) -- (v1);
	\draw[->] (s2) -- (v2);
	\draw[->] (s3) -- (v3);
	\draw[->] (s4) -- (v4);
	\draw[->] (s5) -- (v5);

\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\definecolor{tikz_red}{HTML}{F67280}
\definecolor{tikz_gray}{HTML}{E2E2E2}

\begin{document}
\begin{tikzpicture}[font=\scriptsize]
  \draw [fill=tikz_red] (0,0) rectangle (13*6/20*0.15, 0.15);
  \draw [fill=tikz_gray] (13*6/20*0.15, 0) rectangle (6*0.15, 0.15);
  \node [left, color=tikz_red] at (0, 0.1) {\textbf{13}\textcolor{black!50}{/20}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}
\draw[->] (-4.5,0) -- (4.5,0);
\foreach \x in {-4,...,4}
    \draw (\x,0.1) -- (\x,-0.1) node[below] {\x};
\fill[red] (0,0) circle (2pt);
\node[anchor=west] at (4.5,0) {$m=1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.5}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    height=2cm, width=12cm,
    xmin=-4.5, xmax=4.5,
    axis x line=bottom,
    hide y axis,
    ymin=0, ymax=0.2,
    scatter/classes={a={mark=o,draw=black}},
    xtick={-4,-3,-2,-1,0,1,2,3,4},
    xticklabels={-4,-3,-2,-1,0,1,2,3,4},
    axis line style={->},
    xlabel={$m=7$},
    xlabel style={at={(1,0)}, anchor=west}
]
\addplot[scatter,only marks,mark size=3pt,fill=red,scatter src=explicit symbolic]
table {
-2.57225941 0
-1.50820493 0
-0.71249928 0
0 0
0.71249928 0
1.50820493 0
2.57225941 0
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amssymb}
\usepackage{xcolor}

\newcommand{\GG}{\mathcal{G}}

\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw[->, black] (0,-1) -- (13.1,-1);
\draw[->, black] (0,-1) -- (0,8.1);

\filldraw[green!30!white] (2,7) rectangle (10,5);
\filldraw[yellow!50!white] (4,4) rectangle (10,2);
\draw[olive!60!white, very thick] (1,0) -- (1,8) (5,0) -- (5,8);
\draw[orange, very thick] (9,0) -- (9,8) (13,0) -- (13,8);

\filldraw[red] (2,7) node[anchor=south]{$x_t$} circle (2pt)
               (4,4) node[anchor=south]{$x_{t_1}$} circle (2pt)
               (12,2) node[anchor=south]{$x_{t_2}$} circle (2pt);

\filldraw[blue] (10,2) node[anchor=west]{$r$} circle (2pt)
                (10,5) node[anchor=west]{$q$} circle (2pt);

\filldraw[cyan] (9,2) circle (3pt) (13,2) circle (3pt);

\filldraw[gray!75!white] (10,4) node[anchor=west]{$p_1$} circle (2pt)
                         (10,7) node[anchor=west]{$p$} circle (2pt);

\draw [<->, black, thick] (1,0) -- (5,0);
\draw [<->, black, thick] (9,0) -- (13,0);
\draw (3,0) node[anchor=north]{$\GG_1$} (11,0) node[anchor=north]{$\GG_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
    \draw[->] (26,1.84) -- (26,26);
    \draw[->] (26,34) -- (26,58.16);
    \draw[->] (2.33,30) -- (26,30);
    \draw[->] (26,30) -- (49.67,30);
    \node[anchor=north west,inner sep=0.75pt] at (34,32) {\small $g$};
    \node[anchor=north west,inner sep=0.75pt] at (28,6.04) {\small $h$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta,automata}

\begin{document}
\begin{tikzpicture}[->, >=Stealth, shorten >=1pt, 
    main node/.style={circle, draw, font=\sffamily\small\bfseries, minimum size=10pt},
    node distance=1.2cm]
    \node[main node, initial, initial text={}, initial where=left, label={above:$(1,4)$}] (1) {};
    \node[main node, label={above:$(2,5)$}] (2) [right = of 1] {};
    \path (1) edge node[above] {$a!$} (2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}

\begin{tikzpicture}
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{lightblue176205241}{RGB}{176,205,241}
\definecolor{palegreen169227174}{RGB}{169,227,174}

\begin{axis}[
log basis x={10},
tick align=outside,
tick pos=left,
x grid style={gray!30, dashed},
xlabel={Count},
xmajorgrids,
xmin=1, xmax=251188.643150958,
xmode=log,
xtick style={color=black},
xtick={0.1,1,10,100,1000,10000,100000,1000000,10000000},
xticklabels={
  \(\displaystyle {10^{-1}}\),
  \(\displaystyle {10^{0}}\),
  \(\displaystyle {10^{1}}\),
  \(\displaystyle {10^{2}}\),
  \(\displaystyle {10^{3}}\),
  \(\displaystyle {10^{4}}\),
  \(\displaystyle {10^{5}}\),
  \(\displaystyle {10^{6}}\),
  \(\displaystyle {10^{7}}\)
},
y grid style={darkgray176},
ymin=-0.5, ymax=16.75,
ytick style={color=black},
ytick={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16},
yticklabels={
  chemical,
  protein,
  cell,
  GO,
  disease,
  gene,
  phenotype,
  variant (SNP),
  anatomy,
  small protein,
  vaccine,
  pathway,
  other terms,
  sequence,
  species,
  histone modification,
  epigenetic modification,
},
y=1cm/2
]
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,-0.25) rectangle (axis cs:150080,0.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,0.75) rectangle (axis cs:96197,1.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,1.75) rectangle (axis cs:44175,2.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,2.75) rectangle (axis cs:43869,3.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,3.75) rectangle (axis cs:23270,4.25);
\draw[draw=none,fill=palegreen169227174] (axis cs:1e-10,4.75) rectangle (axis cs:20081,5.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,5.75) rectangle (axis cs:16865,6.25);
\draw[draw=none,fill=palegreen169227174] (axis cs:1e-10,6.75) rectangle (axis cs:16091,7.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,7.75) rectangle (axis cs:14232,8.25);
\draw[draw=none,fill=palegreen169227174] (axis cs:1e-10,8.75) rectangle (axis cs:8178,9.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,9.75) rectangle (axis cs:6246,10.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,10.75) rectangle (axis cs:2606,11.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,11.75) rectangle (axis cs:2427,12.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,12.75) rectangle (axis cs:2363,13.25);
\draw[draw=none,fill=lightblue176205241] (axis cs:1e-10,13.75) rectangle (axis cs:2148,14.25);
\draw[draw=none,fill=palegreen169227174] (axis cs:1e-10,14.75) rectangle (axis cs:20,15.25);
\draw[draw=none,fill=palegreen169227174] (axis cs:1e-10,15.75) rectangle (axis cs:18,16.25);
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}

\begin{document}

\begin{tikzpicture}[scale=0.78]
\begin{axis}[
    symbolic x coords={3,4,5,6,7,8,9,10,11,12,13,14,15,16,29},
    xtick=data,
    grid=major,
    grid style={dashed,gray!30},
    bar width=6,
    xlabel=Number of baselines,
    ylabel=Number of papers,
]
    \addplot[ybar,fill=blue] coordinates {
        (3, 117) (4, 160) (5, 136) (6, 159) (7, 115) (8, 90) (9, 50) (10, 32) (11, 21) (12, 7) (13, 6) (14, 4) (15, 4) (16, 1) (29, 1)
    };
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[scale=2]
\node[circle,thick,draw=green!60!black] (1) at (0,0) {$1$};
\node at (-0.7, 0) {$H = $};
\end{tikzpicture}
\end{document}