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

\begin{document}
\begin{tikzpicture}[scale=0.6]
\begin{axis}[
    xlabel={\bf Fraction of Retrieved Documents (Recall)},
    ylabel={\bf Precision@Recall},
    xmin=-0.3, xmax=6.3,
    ymin=0.50, ymax=0.80,
    ytick={0.5,0.55,...,0.80},
    xtick={0,1,2,3,4,5,6},
    xticklabels={0.002, 0.005, 0.01, 0.02, 0.05, 0.1, 0.2},
    legend pos=north east,
    ymajorgrids=true, xmajorgrids=true,
    grid style=dashed,
    legend style={font=\small}
]

\addplot[
    color=blue,
    mark=square,
    ]
    plot coordinates {
    (0, 0.782)
    (1, 0.748)
    (2, 0.719)
    (3, 0.685)
    (4, 0.636)
    (5, 0.591)
    (6, 0.531)
    };
\addlegendentry{MST+MVT}

\addplot[
    color=red,
    mark=triangle,
    ]
    plot coordinates {
    (0, 0.77)
    (1, 0.735)
    (2, 0.70)
    (3, 0.663)
    (4, 0.60)
    (5, 0.55)
    (6, 0.502)
    };
\addlegendentry{DocNADEe}

\addplot[
    color=green,
    mark=*,
    ]
    plot coordinates {
    (0, 0.731)
    (1, 0.683)
    (2, 0.642)
    (3, 0.597)
    (4, 0.537)
    (5, 0.491)
    (6, 0.442)
    };
\addlegendentry{EmbSum-Glove}

\addplot[
    color=black,
    mark=square,
    ]
    plot coordinates {
    (0, 0.738)
    (1, 0.703)
    (2, 0.674)
    (3, 0.638)
    (4, 0.588)
    (5, 0.543)
    (6, 0.483)
    };
\addlegendentry{zero-shot}

\addplot[
    color=cyan,
    mark=*,
    ]
    plot coordinates {
    (0, 0.740)
    (1, 0.710)
    (2, 0.680)
    (3, 0.645)
    (4, 0.593)
    (5, 0.544)
    (6, 0.487)
    };
\addlegendentry{data-augment}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}
\begin{tikzpicture}[scale=.33]
\begin{axis}[
    title={(b). Identification rate for $n=500, m=96$},
    xlabel={\#Positives, $d$ },
    ylabel={Success rate\%},
    xmin=0, xmax=26,
    ymin=0, ymax=110,
    xtick={0,2,4,6,8,10,12,14,16,18,20,22,24,26},
    ytick={0,10,20,30,40,50,60,70,80,90,100},
    legend pos=south west,
    ymajorgrids=true,
    grid style=dashed,
]
  \addplot coordinates {
    (1,100)(2,100)(3,100)(4,97)(5,99)(6,92)(7,87)(8,84)(9,71)(10,67)(11,63)(12,47)(13,35)(14,24)(15,23)(16,14)(17,11)(18,10)(19,3)(20,4)(21,3)(22,1)(23,3)(24,0)(25,0)
  };
  \addplot coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,99)(8,97)(9,98)(10,96)(11,95)(12,91)(13,90)(14,84)(15,74)(16,64)(17,66)(18,52)(19,48)(20,45)(21,33)(22,24)(23,14)(24,15)(25,9)
  };
  \addplot coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,100)(8,100)(9,100)(10,100)(11,100)(12,99)(13,98)(14,96)(15,94)(16,89)(17,85)(18,87)(19,71)(20,60)(21,65)(22,48)(23,46)(24,41)(25,25)
  };
  \addplot coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,100)(8,100)(9,100)(10,100)(11,100)(12,100)(13,100)(14,97)(15,99)(16,98)(17,96)(18,91)(19,84)(20,79)(21,77)(22,66)(23,56)(24,53)(25,38)
  };
  \addplot[color=green, mark=*] coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,100)(8,100)(9,100)(10,100)(11,100)(12,100)(13,100)(14,100)(15,99)(16,99)(17,100)(18,94)(19,92)(20,80)(21,83)(22,79)(23,65)(24,59)(25,41)
  };
  \addplot[color=orange, mark=*] coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,100)(8,100)(9,100)(10,100)(11,100)(12,100)(13,100)(14,100)(15,99)(16,100)(17,99)(18,99)(19,93)(20,91)(21,89)(22,79)(23,78)(24,66)(25,61)
  };
  \addplot[color=cyan, mark=triangle] coordinates {
    (1,100)(2,100)(3,100)(4,100)(5,100)(6,100)(7,100)(8,100)(9,100)(10,100)(11,100)(12,100)(13,100)(14,100)(15,100)(16,99)(17,97)(18,99)(19,96)(20,93)(21,88)(22,79)(23,73)(24,71)(25,63)
  };
  \legend{$\alpha=12$, $\alpha=16$, $\alpha=20$, $\alpha=24$, $\alpha=28$, $\alpha=32$, $\alpha=36$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}[scale=0.1]
    \draw[blue, thick] (0,-1) -- (0,0);
    \draw[blue, thick] (0,0) -- (4,4);
    \draw[blue, thick] (0,0) -- (-4,4);
    \draw[blue, thick] (1,1) -- (-2,4);
    \draw[blue, thick] (0,2) -- (2,4);
    \draw[blue, thick] (-1,3) -- (0,4);
    \filldraw[black] (0,0) circle (5pt);
    \filldraw[black] (1,1) circle (5pt);
    \filldraw[black] (0,2) circle (5pt);
    \filldraw[black] (-1,3) circle (5pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[thick]
\draw[very thick] (0,0) rectangle (3,3);
\draw (1.5,-0.5) node {$Z_1$};
\draw (-0.5,1.5) node[rotate=90] {$Z_2$};
\draw (1,0) -- (1,3);
\draw (1,3.2) node {$t_1$};
\draw (0.5,1.5) node {$\ell_1$};
\draw (2,1.5) node {$\ell_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{trees}
\tikzset{every tree node/.style={align=center,anchor=north}}

\begin{document}
\begin{tikzpicture}[every node/.append style={text=black}, sibling distance=1.5cm]
\node {\textcolor{red}{$\wedge$}}
    child[line width=.2mm] {node {\textcolor{red}{$\ell$}}}
    child[line width=.2mm] {node {\textcolor{blue}{$\vee$}}
        child[line width=.2mm] {node {$\mathcal{C}(\textcolor{blue}{\overline{\ell}})$}}
        child[line width=.2mm] {node {$\mathcal{D}(\textcolor{blue}{\overline{\ell}})$}}
    };
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}

\begin{document}
\begin{tikzpicture}[scale=0.9, every node/.style={scale=1.0}, rotate=-90]
\begin{axis}[
    width  = 0.8*\textwidth,
    height = 10cm,
    ymin=0, ymax=130,
    ytick={0,20,40,60,80,100,120},
    major x tick style = transparent,
    ybar=4*\pgflinewidth,
    bar width=16.0pt,
    xlabel = {Feature},
    xlabel style={rotate=180},
    ylabel = {Weight},
    yticklabel pos=right,
    symbolic x coords={F10, F11, F2, F1, F9, F6, F0, F3, F5, F7, F4, F8, F12},
    y tick label style={
        rotate=90,
        /pgf/number format/.cd,
        fixed,
        fixed zerofill,
        precision=0
    },
    xtick = data,
    x tick label style={
        rotate=90,
    },
    enlarge x limits=0.06,
    legend cell align=left,
    legend style={
        at={(0.8775,0)},
        anchor=south,
        column sep=1ex
    },
    nodes near coords,
    every node near coord/.append style={
        rotate=90, 
        anchor=west, 
        font=\footnotesize,
        /pgf/number format/.cd,
        fixed,
        fixed zerofill,
        precision=0
    }
]
\addplot[fill=blue, opacity=1.00]
coordinates {
    (F10,115)
    (F11,93)
    (F2,68)
    (F1,61)
    (F9,55)
    (F6,53)
    (F0,28)
    (F3,25)
    (F5,25)
    (F7,10)
    (F4,8)
    (F8,2)
    (F12,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, decorations.pathmorphing}

\begin{document}

\begin{tikzpicture}[
    every node/.append style={very thick, rounded corners=0.1mm}
]

    \node[draw, rectangle] (Alice) at (0,0) {Alice};
    \node[draw, rectangle] (Server) at (5.5,0) {Server};
    \node[draw, rectangle] (Bob) at (7.5,0) {Bob};
    \node[draw, rectangle] (Eve) at (9,0) {Eve};

    \draw[thick] (Alice) -- ++(0,-6);
    \draw[thick] (Server) -- ++(0,-2);
    \draw[thick] (Bob) -- ++(0,-6);
    \draw[thick] (Eve) -- ++(0,-6);

    \draw[->, very thick] (0,-1) -- node[auto] {$\{A,B,N_A\}$} ++(5.5,0);
    \draw[<-, very thick] (0,-2) -- node[auto] {$\{N_A, K_{AB}, B, \{K_{AB}, A\}_{K_{BS}}\}_{K_{AB}}\}$} ++(5.5,0);

    \draw[->, very thick] (0,-3.5) -- node[auto] {$\{K_{AB}, A\}_{K_{BS}}$} ++(7.5,0);
    \draw[<-, very thick] (0,-4.5) -- node[auto] {$\{N_B\}_{K_{AB}}$} ++(7.5,0);
    \draw[->, very thick] (0,-5.5) -- node[auto] {$\{N_B - 1\}_{K_{AB}}$} ++(7.5,0);

    \draw[->, decorate, decoration={snake, amplitude=0.4mm, segment length=2mm}, very thick, draw=red] (5.5,-1) -- ++(3.5,0);
    \draw[->, decorate, decoration={snake, amplitude=0.4mm, segment length=2mm}, very thick, draw=red] (5.5,-2) -- ++(3.5,0);
    \draw[->, decorate, decoration={snake, amplitude=0.4mm, segment length=2mm}, very thick, draw=red] (7.5,-3.5) -- ++(1.5,0);
    \draw[->, decorate, decoration={snake, amplitude=0.4mm, segment length=2mm}, very thick, draw=red] (7.5,-4.5) -- ++(1.5,0);
    \draw[->, decorate, decoration={snake, amplitude=0.4mm, segment length=2mm}, very thick, draw=red] (7.5,-5.5) -- ++(1.5,0);

\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart,shapes,calc,decorations.pathreplacing}

\begin{document}
\begin{tikzpicture}
  [scale=2.0,auto=left,every node/.style={fill=cyan!20,minimum width=2em, draw=black}]
  \node[rectangle] (D1) at (1,3) {$\Delta_1$};
  \node[rectangle] (D2) at (2,3) {$\Delta_2$};
  \node[rectangle] (D3) at (3,3) {$\Delta_3$};
  \node[draw=none, fill=none] (D4) at (4,3) {};
  \node[rectangle] (D5) at (5,3) {$\Delta_{k-1}$};
  \node[circle, fill=none] (M1) at (1,2)  {$a_{12}$};
  \node[circle, fill=none] (M2) at (2,2)  {$a_{22}$};
  \node[circle, fill=none] (M3) at (3,2)  {$a_{32}$};
  \node[draw=none, fill=none] (M4) at (4,2)  {$\dots$};
  \node[circle, fill=none] (M5) at (5,2)  {$a_{k-1,2}$};
  \node[draw=none, fill=none] (M6) at (6,2)  {$\dots$};
  \node[rectangle] (F1) at (1,1) {$a_{11}$};

  \draw[line width=0.1em,->,>=stealth] (M1) -- (M2);
  \draw[line width=0.1em,->,>=stealth] (M2) -- (M3);
  \draw[line width=0.1em,->,>=stealth] (M3) -- (M4);
  \draw[line width=0.1em,->,>=stealth] (M4) -- (M5);
  \draw[line width=0.1em,->,>=stealth] (M5) -- (M6);
  \draw[line width=0.1em,->,>=stealth] (M6) -- (D5);
  \draw[line width=0.1em,->,>=stealth] (D5) -- (M5);
  \draw[line width=0.1em,->,>=stealth] (M5) -- (D4);
  \draw[line width=0.1em,->,>=stealth] (M4) -- (D3);
  \draw[line width=0.1em,->,>=stealth] (D3) -- (M3);
  \draw[line width=0.1em,->,>=stealth] (M3) -- (D2);
  \draw[line width=0.1em,->,>=stealth] (D2) -- (M2);
  \draw[line width=0.1em,->,>=stealth] (M2) -- (D1);
  \draw[line width=0.1em,->,>=stealth] (D1) -- (M1);
  \draw[line width=0.1em,->,>=stealth] (M1) -- (F1);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usepackage{amsmath}

\newcommand{\dotsize}{2pt}

\newcommand{\Square}[1]{+(-#1,-#1) rectangle +(#1,#1);}

\begin{document}

\begin{tikzpicture}[baseline=(current bounding box.west)]
\fill (0,0) circle[radius=\dotsize]; \draw (0,0) node[below]{$r$};
\fill (0.6,0) \Square{\dotsize}; \draw (0.6,0) node[below]{$r_1$};
\fill (1.2,0) \Square{\dotsize}; \draw (1.2,0) node[below]{$r_2$};
\draw (1.8,0) node{$\times$};
\fill (2.4,0) \Square{\dotsize}; \draw (2.4,0) node[below]{$r_1$};
\fill (3.0,0) \Square{\dotsize}; \draw (3.0,0) node[below]{$r_3$};
\draw[dashed] (0,0) to [out=60, in=120] (0.6,0);
\draw[dashed] (0.6,0) to [out=60, in=120] (1.2,0);
\draw[dashed] (2.4,0) to [out=60, in=120] (3.0,0);
\draw[dashed] (0,0) to [out=60, in=120] (2.4,0);
\end{tikzpicture}

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

\begin{document}
\begin{tikzpicture}[baseline={([yshift=-.5ex]current bounding box.center)}]
\coordinate (G1) at (0,0);
\coordinate (G2) at (1,0.57735);
\coordinate (G3) at (1,-0.57735);
\coordinate (H1) at (-1/3,0);
\coordinate [above right = 1/3 of G2](H2);
\coordinate [below right = 1/3 of G3](H3);
\coordinate (I1) at (1/2,0.288675);
\coordinate [above left=1/4 and 1/8 of I1](I11);
\coordinate [below right = 1/4 and 1/8 of I1](I12);
\coordinate (I2) at (1/2,-0.288675);
\coordinate [below left = 1/4 and 1/8 of I2](I21);
\coordinate [above right = 1/4 and 1/8 of I2](I22);
\coordinate (I3) at (1,0);
\coordinate (I31) at (3/4,0);
\coordinate (I32) at (5/4,0);
\coordinate [above left=1/4 of G2] (J1);

\draw (G1) -- (G2);
\draw (G1) -- (G3);
\draw (G2) to[out=-110,in=110] (G3);
\draw (G2) to[out=-70,in=70] (G3);
\draw (G1) [line width=0.75 mm] -- (H1);
\draw (G2) -- (H2);
\draw (G3) -- (H3);

\node at (H1) [left=0,scale=0.7] {$p_3$};
\node at (H2) [above right=0,scale=0.7] {$p_2$};
\node at (H3) [below right=0,scale=0.7] {$p_1$};
\node at (1/2,0.57735/2) [above left=0,scale=0.7] {\small$3$};
\node at (1/2,-0.57735/2) [below left=0,scale=0.7] {\small$4$};
\node at (0.7,0) [scale=0.7] {\small$1$};
\node at (1.3,0) [scale=0.7] {\small$2$};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsthm, amsmath, amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}

\begin{document}
\begin{tikzpicture}[yscale=0.7]
    \node[draw, circle, fill=white, inner sep=2pt] (A) at (3,6) {};
    \node[draw, circle, fill=black, inner sep=2pt] (B) at (3,5) {};
    \node[draw, circle, fill=gray, inner sep=2pt] (C) at (2.5,4) {};
    \node[draw, circle, fill=gray, inner sep=2pt] (D) at (3.5,4) {};
    \draw (A) -- (B) -- (C);
    \draw (B) -- (D);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows, decorations.pathreplacing, shapes.geometric, calc}

\tikzset{
  flavour/.style={draw=none, minimum size=0.3mm, fill=white, regular polygon, regular polygon sides=4, draw},
  gauge/.style={inner sep=1mm, draw=none, fill=white, minimum size=2mm, circle, draw},
  skeleton/.style={draw=red, minimum size=0.35mm, fill=white, circle, draw},
  bd/.style={circle, draw=black, inner sep=0pt, fill=black, minimum size=2mm},
  bd2/.style={circle, draw=black!50, inner sep=0pt, fill=black!50, minimum size=2mm},
  rd/.style={circle, draw=red!50, inner sep=0pt, fill=red!50, minimum size=2mm},
  gd/.style={circle, draw=green!50, inner sep=0pt, fill=green!50, minimum size=2mm},
  bl/.style={circle, draw=blue!30, inner sep=0pt, fill=blue!30, minimum size=2mm},
  gauge3/.style={draw=none, minimum size=0.35mm, fill=white, circle, draw},
  miniBlue/.style={draw=none, minimum size=0.35mm, fill=blue, circle, draw},
  oliveX/.style={draw=none, minimum size=0.35mm, fill=none, circle, draw},
  olivesquare/.style={draw=none, minimum size=0.35mm, fill=white, regular polygon, regular polygon sides=4, draw},
  none/.style={draw=none},
  flavor1/.style={draw=none, minimum size=0.35mm, fill=white, regular polygon, regular polygon sides=4, draw},
  flavour2/.style={draw=none, minimum size=0.35mm, fill=white, regular polygon, regular polygon sides=4, draw},
  Reddotted/.style={dashed, color=red},
  Bluedotted/.style={dashed, color=blue},
  brace/.style={decorate, decoration={brace, amplitude=10pt}},
  D5/.style={circle, fill=blue, inner sep=3pt},
  D5o/.style={circle, fill=olive, inner sep=3pt},
  wiggler/.style={decorate, decoration={snake}}
}

\begin{document}
\begin{tikzpicture}
  \node[flavour, label=above:{$2$}] (2a) at (-1,1) {};
  \node[gauge, label=below:{$6$}] (1) at (0,0) {};
  \node[gauge, label=below:{$4$}] (2) at (-1,0) {};
  \draw (1) -- (2) -- (2a);
  \draw[transform canvas={yshift=-2pt}] (1) -- (2);
  \draw[transform canvas={yshift=2pt}] (1) -- (2);
  \draw (-0.4,0.2) -- (-0.6,0) -- (-0.4,-0.2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows, decorations.pathreplacing, shapes.geometric, calc}

\tikzset{
  D5/.style={circle, fill=blue, inner sep=3pt},
  brace/.style={decorate, decoration={brace, amplitude=10pt}}
}

\begin{document}
\begin{tikzpicture}
  \draw[red] (0,0)--(0,3) (2,0)--(2,3) (6,0)--(6,3) (8,0)--(8,3);
  \draw[green] (4,0)--(4,3);
  \node[D5] at (0.5,1.5) {};
  \node at (1,1.5) {$\cdots$};
  \node at (1,1.8) {$N_1$};
  \node[D5] at (1.5,1.5) {};
  \node[D5] at (2.5,1.5) {};
  \node at (3,1.5) {$\cdots$};
  \node at (3,1.8) {$N_2$};
  \node[D5] at (3.5,1.5) {};
  \node[D5] at (4.5,1.5) {};
  \node at (5,1.5) {$\cdots$};
  \node at (5,1.8) {$N_2$};
  \node[D5] at (5.5,1.5) {};
  \node[D5] at (6.5,1.5) {};
  \node at (7,1.5) {$\cdots$};
  \node at (7,1.8) {$N_1$};
  \node[D5] at (7.5,1.5) {};
  \draw (0,0.5)--(2,0.5) (0,1)--(2,1);
  \node at (1,0.85) {$\vdots$};
  \node at (1.3,0.75) {$k_1$};
  \draw (2,0.3)--(4,0.3) (2,0.8)--(4,0.8);
  \node at (3,0.65) {$\vdots$};
  \node at (3.3,0.55) {$k_2$};
  \draw (4,0.3)--(6,0.3) (4,0.8)--(6,0.8);
  \node at (5,0.65) {$\vdots$};
  \node at (5.3,0.55) {$k_2$};
  \draw (6,0.5)--(8,0.5) (6,1)--(8,1);
  \node at (7,0.85) {$\vdots$};
  \node at (7.3,0.75) {$k_1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1]
\node[] (a) at (0, 2)   {$A$};
\node[] (m) at (3.5, 4)   {$M$};
\node[] (y) at (7, 2)   {$Y$};
\node[draw,circle]  (u) at (3.5,0) 	 {$U$};
\node[] (w) at (7,0) 	 {$W$};
\node[] (z) at (0,0) 	 {$Z$};

\path[->] (a) edge (y);
\path[->] (a) edge (m);
\path[->] (m) edge (y);
\path[->,dashed] (u) edge (a);
\path[->] (z) edge (a);
\path[->,dashed] (u) edge (y);
\path[->] (w) edge (u);
\path[->,dashed] (u) edge (m);
\path[->] (w) edge (y);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}

\begin{document}
\begin{tikzpicture}
    \node (chain) {${\underset{\underset{\text{\large$\left[1\textbf{F}\right]$}}{\textstyle\vert}}{\text{SU}(2)}}-\text{SU(2)}-\cdots-{\underset{\underset{\text{\large$\left[4\textbf{F}\right]$}}{\textstyle\vert}}{\text{SU}(2)}}$};
    \draw [thick,decorate,decoration={brace,amplitude=6pt},yshift=10pt]
    (-2.25,0.5) -- (2.25,0.5) node [midway, above, yshift=10pt] {$N$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows}

\begin{document}

\begin{tikzpicture}[baseline=(current bounding box.center)]
    \def \w {7.5}
    \def \scal {0.85}
    \fill [gray!20] (3*\w/6,0)--(4*\w/6,0)--(4*\w/6,-\w/6)--(2*\w/6,-3*\w/6)--(\w/6,-3*\w/6)--(\w/6,-2*\w/6);
    \fill [gray!30] (4*\w/6,-\w/6)--(5*\w/6,-\w/6)--(5*\w/6,-2*\w/6)--(3*\w/6,-4*\w/6)--(2*\w/6,-4*\w/6)--(2*\w/6,-3*\w/6);
    \foreach \x in {0,1,5,6}{
        \draw (\x*\w/6,0)--(\x*\w/6,-4*\w/6);
    }
    \foreach \x in {0,1,3,4}{
        \draw [>>-] (-\w/30,-\x*\w/6)--(\w/6,-\x*\w/6);
        \draw [->>] (5*\w/6,-\x*\w/6)--(\w+\w/30,-\x*\w/6);
    }
    \draw (0,-2*\w/6)--(\w/6,-2*\w/6);
    \draw (5*\w/6,-2*\w/6)--(\w,-2*\w/6);
    \draw (0,0)--(\w,0);
    \draw (0,-4*\w/6)--(\w,-4*\w/6);
    \draw (3*\w/6,0)--(3*\w/6,-\w/6)--(5*\w/6,-\w/6);
    \draw (4*\w/6,0)--(4*\w/6,-2*\w/6)--(5*\w/6,-2*\w/6);
    \draw (\w/6,-2*\w/6)--(2*\w/6,-2*\w/6)--(2*\w/6,-3*\w/6)--(\w/6,-3*\w/6);
    \draw (2*\w/6,-3*\w/6)--(3*\w/6,-3*\w/6)--(3*\w/6,-4*\w/6)--(2*\w/6,-4*\w/6)--(2*\w/6,-3*\w/6);
    % spectral parameters
    \draw [dotted,thick] (1*\w/6,-1*\w/6)--(2*\w/6,0*\w/6);
    \draw [dotted,thick] (2*\w/6,-2*\w/6)--(3*\w/6,-1*\w/6);
    \draw [dotted,thick] (3*\w/6,-3*\w/6)--(4*\w/6,-2*\w/6);
    \draw [dotted,thick] (4*\w/6,-4*\w/6)--(5*\w/6,-3*\w/6);
    \draw [dotted,thick] (1*\w/6,-2*\w/6)--(3*\w/6,0*\w/6);
    \draw [dotted,thick] (2*\w/6,-3*\w/6)--(4*\w/6,-1*\w/6);
    \draw [dotted,thick] (3*\w/6,-4*\w/6)--(5*\w/6,-2*\w/6);
    \node[scale=\scal] at (1*0.5*\w/6,-1*0.5*\w/6) {\dots};
    \node[scale=\scal] at (7*0.5*\w/6,-1*0.5*\w/6) {$u_{n-1,n+1}$};
    \node[scale=\scal] at (9*0.5*\w/6,-1*0.5*\w/6) {$u_{n-1,n+2}$};
    \node[scale=\scal] at (11*0.5*\w/6,-1*0.5*\w/6) {\dots};
    \node[scale=\scal] at (1*0.5*\w/6,-3*0.5*\w/6) {\dots};
    \node[scale=\scal] at (9*0.5*\w/6,-3*0.5*\w/6) {$u_{n,n+2}$};
    \node[scale=\scal] at (11*0.5*\w/6,-3*0.5*\w/6) {\dots};
    \node[scale=\scal] at (1*0.5*\w/6,-5*0.5*\w/6) {\dots};
    \node[scale=\scal] at (3*0.5*\w/6,-5*0.5*\w/6) {$u_{n+1,n-1}$};
    \node[scale=\scal] at (11*0.5*\w/6,-5*0.5*\w/6) {\dots};
    \node[scale=\scal] at (1*0.5*\w/6,-7*0.5*\w/6) {\dots};
    \node[scale=\scal] at (3*0.5*\w/6,-7*0.5*\w/6) {$u_{n+2,n-1}$};
    \node[scale=\scal] at (5*0.5*\w/6,-7*0.5*\w/6) {$u_{n+2,n}$};
    \node[scale=\scal] at (11*0.5*\w/6,-7*0.5*\w/6) {\dots};
    \node[left] at (0,-2*\w/6) {$\alpha$};
    \node[right] at (\w,-2*\w/6) {$\beta$};
    \foreach \x in {0,1,2,3,4,5,6}{
        \node[draw,circle,inner sep=1pt,fill] at (\x*\w/6,0) {};
    }
    \foreach \x in {0,1,3,4,5,6}{
        \node[draw,circle,inner sep=1pt,fill] at (\x*\w/6,-1*\w/6) {};
    }
    \foreach \x in {1,2,4,5}{
        \node[draw,circle,inner sep=1pt,fill] at (\x*\w/6,-2*\w/6) {};
    }
    \foreach \x in {0,1,2,3,5,6}{
        \node[draw,circle,inner sep=1pt,fill] at (\x*\w/6,-3*\w/6) {};
    }
    \foreach \x in {0,1,2,3,4,5,6}{
        \node[draw,circle,inner sep=1pt,fill] at (\x*\w/6,-4*\w/6) {};
    }
\end{tikzpicture}

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

\begin{document}
\begin{tikzpicture}
\draw(-1,-2)--(1,2) (-2,2)--(2,-2);
\draw(1.3,1) node{$y=2x$};
\draw(-2,1) node{$y=-x$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning}

\begin{document}
\begin{tikzpicture}[
  point/.style = {circle, draw, inner sep=0.04cm, fill, node contents={}},
  every edge/.append style={->, nodes={font=\scriptsize}}
]
  \node (0) at (0,0) [label=above:{$G_1$}, point];
  \node (1) at (2,0) [label=above:{$G_2$}, point];
  \node (2) at (4,0) [label=above:{$G_3$}, point];
  \node (3) at (5,0) {$\cdots$};
  \node (4) at (6,0) [label=above:{$G_\infty$}, point];

  \draw (0) edge node[above] {$K_1$} (1);
  \draw (1) edge node[above] {$K_2$} (2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}
\begin{tikzpicture}[font=\small]
  \begin{axis}[
    width=7cm,
    height=5cm,
    ybar,
    bar width=15pt,
    ymin=0,
    xtick=data,
    axis x line=bottom,
    axis y line=left,
    enlarge x limits=0.2,
    symbolic x coords={$< 15\%$, $15-25\%$, $25-50\%$, $> 50\%$},
    xticklabel style={
       anchor=base,
       yshift=-\baselineskip,
       text width=1.2cm,
       align=center,
    },
    nodes near coords={\pgfmathprintnumber\pgfplotspointmeta}
  ]
    \addplot[fill=orange,fill opacity=0.5, text opacity=1] coordinates {
      ($< 15\%$, 112)
      ($15-25\%$, 72)
      ($25-50\%$, 60)
      ($> 50\%$, 6)
    };
  \end{axis}
\end{tikzpicture}
\end{document}