AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw (0,0) circle (2pt);
\filldraw (0,.8) circle (2pt);
\filldraw (-2,2) circle (2pt);
\filldraw (-1,2) circle (2pt);
\filldraw (0,2) circle (2pt);
\filldraw (2,2) circle (2pt);
\draw [-] (0,0) -- (0,1);
\draw [-] (0,.8) -- (-2,2);
\draw [-] (0,.8) -- (-1,2);
\draw [-] (0,.8) -- (0,2);
\draw [-] (0,.8) -- (2,2);
\node at (0,-.4) {\small 0};
\node at (.3,.7) {\small $a$};
\node at (-2, 2.3) {\small $b_1$};
\node at (-1, 2.3) {\small $b_2$};
\node at (0, 2.3) {\small $b_3$};
\filldraw (.6,2) circle (.7pt);
\filldraw (1,2) circle (.7pt);
\filldraw (1.4,2) circle (.7pt);
\node at (2, 2.3) {\small $b_{n-2}$};
\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 (-1,0) parabola[parabola height=2cm] +(3,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{tikz, pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{patchplots}
\usetikzlibrary{positioning,calc,through,backgrounds,shapes.misc,shapes.geometric,spy,plotmarks,arrows.meta,matrix}
\pgfplotsset{compat=newest}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
,cross/.default={2pt}}
\begin{document}
\begin{tikzpicture}[scale=0.9, rounded corners=1pt,inner sep=3.2pt,node distance=.2cm,every text node part/.style={align=left}]
\node[above] at (4,4) {IQIR OFDM waveform proposed in \cite{IQ_Imbalance_Rad2}};
\draw [<->,thick] (0,4.2) node (yaxis) [above] {$r$} |- (4.2,0) node (xaxis) [right] {$v$};
\draw[draw = black] (0pt,2pt) -- (0pt,-2pt) node[below] {\small $-v_\text{max}$};
\draw[draw = black] (2,2pt) -- (2,-2pt) node[below] {\small $0$};
\draw[draw = black] (4,2pt) -- (4,-2pt) node[below] {\small $v_\text{max}$};
\draw[draw = black] (2pt,0) -- (-2pt,0) node[left] {\small $0$};
\draw[draw = black] (2pt,4) -- (-2pt,4) node[left] {\small $r_\text{max}$};
\draw[draw = black] (2pt,2) -- (-2pt,2) node[left] {\small $r_\text{max}/2$};
\draw[draw=black] (0,0) rectangle ++(4,4);
\begin{axis}[anchor=origin, x=1cm, y=1cm, hide axis]
\addplot [mark=+, color=black] coordinates {(0,0) (0,0)};
\addplot [only marks,thick, mark=o, color=red] coordinates {(1.7,0.5)};
\addplot [only marks,thick, mark=star, color=blue] coordinates {(2.3,0.5)};
\addplot [only marks,thick, mark=triangle, color=black] coordinates {(1.7,2.5)};
\addplot [only marks,thick, mark=square, color=green] coordinates {(2.3,2.5)};
\addplot [only marks,thick, mark=o, color=red] coordinates {(4.4,3.22)};
\addplot [only marks,thick, mark=star, color=blue] coordinates {(4.4,2.55)};
\addplot [only marks,thick, mark=triangle, color=black] coordinates {(4.4,1.45)};
\addplot [only marks,thick, mark=square, color=green] coordinates {(4.7,2.55)};
\end{axis}\draw[draw = none, fill=gray, fill opacity=0.2, draw opacity=0] (0,2) rectangle ++(4,2);
\node[draw,minimum height = 0.5cm, minimum width = 0.5cm](state0) at (5.2,3.2) { $\hspace{1.2mm}$ \footnotesize Real object};
\node[draw, below=0.8cm of state0.west,minimum height = 0.5cm, minimum width = 0.5cm, anchor=west](state1) { $\hspace{4.2mm}$ \footnotesize Ghost objects not \\ \footnotesize propagating like real objects};
\node[draw, below=1.0cm of state1.west,minimum height = 0.5cm, minimum width = 0.5cm, anchor=west](state2) { $\hspace{1.2mm}$ \footnotesize Ghost object propagating\\ \footnotesize like a real object};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis on top,legend pos=outer north east,axis lines = center,xlabel = $x$,ylabel = $y$,]\addplot[very thick,cyan,samples=500,domain=-1.5:1.5] {abs(e^x + e^(-x) - 3)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\definecolor{color1}{HTML}{D0B22B}
\begin{document}
\definecolor{color1}{HTML}{D0B22B}
\tikz \fill[color1]
(0,0) rectangle (1em,0.6em);
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\path (0,0) node(a) [ellipse,rotate=10,draw] {An ellipse}
(3,-1) node(b) [circle,draw] {A circle};
\draw[thick] (node cs:name=a) -- (node cs:name=b);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
scatter/classes={
a={mark=square*,blue},
b={mark=triangle*,red},
c={mark=o,draw=black}
},
]
\addplot [
scatter,only marks,
scatter src=explicit symbolic,
] coordinates {
(0.1,0.15) [a]
(0.45,0.27) [c]
(0.02,0.17) [a]
(0.06,0.1) [a]
(0.9,0.5) [b]
(0.5,0.3) [c]
(0.85,0.52) [b]
(0.12,0.05) [a]
(0.73,0.45) [b]
(0.53,0.25) [c]
(0.76,0.5) [b]
(0.55,0.32) [c]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows, calc, decorations.markings, positioning, shapes.geometric}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[line join = round, line cap = round]
\begin{scope}[xshift=0, yshift=0]\coordinate [label=below right:$z$] (2) at (1,0);
\coordinate [label=above:$y$] (1) at (0,1);
\coordinate [label=below left:$x$] (0) at (-1,0);
\draw[opacity=0.5, lightgray, ultra thick] (0)--(1);
\draw[opacity=0.5, lightgray, ultra thick] (1)--(2);
\node[] at (-0.8,0.6) {$f$};
\node[] at (0.8,0.65) {$g$};
\end{scope}
\begin{scope}[xshift=150, yshift=10]
\node[] at (-2.5,0) {$\mapsto$};
\coordinate [label=right:$z$] (2) at (1,0);
\coordinate [] (1) at (0,1);
\coordinate [label=left:$x$] (0) at (-1,0);
\draw[opacity=0.5, lightgray, ultra thick] (0)--(2);
\node[] at (0,0.4) {$f\circ g$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\fill[cyan] (0,3.0) rectangle (7,7);
\draw [fill opacity=0.5] (1,6.5) to[generic, fill=white,o-o] ++(2,0);
\draw (1,5.5) to[short, fill=red, o-o] ++(1,0) to[short, -o] ++(1,0);
\draw[fill=yellow] (1,5) to[short, o-o] ++(1,0) to[short, -o] ++(1,0);
\draw (1,4.5) to[short, o-o] ++(1,0) to[short, -o] ++(1,0);
\draw (1,4) node[ocirc]{} -- ++(1,0) node[ocirc]{};
\draw [thick, color=green!50!black] (4,4)
to [D,o-o,fill=yellow] ++(0,2)
to [D*, fill=yellow] ++(2,0)
to [D*,fill=yellow] ++(0,-2)
to [D, fill=red, o-o] ++(-2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{tikz-dimline}
\usetikzlibrary{calc}
\tikzset{>=latex}
\begin{document}
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (H) at (4,4);
\coordinate (B) at (2,2);
\draw[line width=2pt, fill=black!20!white] (A) rectangle (H);
\draw[line width=1pt, fill=white] (B) ellipse (0.64 and 1);
\dimline[extension start length=1cm, extension end length=1cm,extension style={black}, label style={rotate=-90}] {(-1, 0)}{(-1, 4)}{2.0};
\dimline[extension start length=-3cm, extension end length=-3cm,label style={rotate=-90}, extension style={black}] {(5,2)}{(5,3)}{0.5};
\dimline[extension start length=3cm, extension end length=3cm, extension style={black}, label style={yshift=0.3cm}] {(2,5)}{(2.64,5)}{0.32};
\dimline[extension start length=0, extension end length=0, label style={rotate=-90, fill=black!20!white, near start}] {(2,0)}{(2,2)}{0.5};
\dimline[extension start length=0, extension end length=0, label style={fill=black!20!white, xshift=-0.3cm}] {(0,2)}{(2,2)}{0.5};
\node[rotate=90, above] at (0,2) {$\nabla q \cdot \textbf{n}_W=0$, $p_\infty$};
\node[rotate=90, below, fill=white] at (4.029,2) {$\nabla q \cdot \textbf{n}_E=0$, $p_\infty$};
\node[above, fill=white] at (2,4.029) {$\nabla q \cdot \textbf{n}_N=0$, $p_\infty$};
\node[below] at (2,0) {$\nabla q \cdot \textbf{n}_S=0$, $p_\infty$};
\draw[->, line width=1pt] (B) -- ($(B)+(0.5,0.0)$) node[near end, above] {$x$};
\draw[->, line width=1pt] (B) -- ($(B)+(0.0,0.5)$) node[near end, left] {$y$};
\node[fill=white,inner sep=0pt,minimum size=1pt] at (2,1.6) {fluid 1};
\node[below] at (0.7,3.9) {fluid 2};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{decorations,decorations.pathmorphing}
\pgfkeys{/pgf/decoration/.unknown/.code={}}\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[decoration={bent,aspect=.3}]
\draw[decorate,fill=yellow!80!black](0,0)rectangle(3.5,2);
\node[circle,draw](A)at(.5,.5){A};
\node[circle,draw](B)at(3,1.5){B};
\draw[->,decorate](A)--(B);
\draw[->,decorate](B)--(A);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsthm}
\usepackage{amssymb,amsfonts}
\usepackage{tikz}
\usepackage{xcolor}
\usetikzlibrary{arrows,matrix,calc,scopes,decorations.markings}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1, baseline=(XXXX.south) ]
\path (0,62);
\path (56.99652862548828,0);
\draw ($(current bounding box.center)+(0,0.3em)$) node [anchor=south] (XXXX) {};
\draw (26,26) -- (26,49.16) ;
\draw [color={rgb, 255:red, 255;
green, 255;
blue, 255 } ,draw opacity=1 ][line width=3] (11.33,30) -- (41.67,30) ;
\draw (26,30) -- (41.67,30) ;
\draw [shift={(29.73,30)}, rotate = 0] [fill={rgb, 255:red, 0;
green, 0;
blue, 0 } ][line width=0.08] [draw opacity=0] (5.36,-2.57) -- (0,0) -- (5.36,2.57) -- cycle ;
\draw (26,9.84) -- (26,26) ;
\draw [shift={(26,13.82)}, rotate = 90] [fill={rgb, 255:red, 0;
green, 0;
blue, 0 } ][line width=0.08] [draw opacity=0] (5.36,-2.57) -- (0,0) -- (5.36,2.57) -- cycle ;
\draw (11.33,30) -- (26,30) ;
\draw (34,30) node [anchor=north west][inner sep=0.75pt] {\small $\mu $};
\draw (28,10) node [anchor=north west][inner sep=0.75pt] {\small $\nu $};
\draw (19,-1) node [anchor=north west][inner sep=0.75pt] {\small $m_{\nu }$};
\draw (21,48) node [anchor=north west][inner sep=0.75pt] {\small $n_{\nu }$};
\draw (-2,26) node [anchor=north west][inner sep=0.75pt] {\small $m_{\mu }$};
\draw (41,26) node [anchor=north west][inner sep=0.75pt] {\small $n_{\mu }$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\tikz [circuit ee IEC] \node [diode,point up] {};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzpicture}[scale=1.2]
\draw (-1.732, -1) -- (0,2) (-1.732, -1) -- (1.732, -1) (1.732, -1) -- (0,2);
\draw (-1.4,0.8) node[anchor=center]{$Y_1\cap Y_2$};
\draw (1.4,0.8) node[anchor=center]{$Y_2\cap Y_3$};
\draw (0,-1.3) node[anchor=center]{$Y_1\cap Y_3$};
\filldraw[black] (0,2) circle (2pt) ;
\filldraw[black] (-1.732, -1) circle (2pt) ;
\filldraw[black] (1.732, -1) circle (2pt) ;
\draw (0,2.3) node[anchor=center]{$Y_1$};
\draw (-1.832, -1.3) node[anchor=center]{$Y_3$};
\draw (1.832, -1.3) node[anchor=center]{$Y_2$};
\draw (0, 0) node[anchor=center]{$Y_1\cap Y_2 \cap Y_3$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
matrix,
circuits.logic.IEC
}
\begin{document}
\begin{tikzpicture}[circuit logic IEC]
\matrix[column sep=7mm]
{
\node (i0) {0}; & & \\
& \node [and gate] (a1) {}; & \\
\node (i1) {0}; & & \node [or gate] (o) {};\\
& \node [nand gate] (a2) {}; & \\
\node (i2) {1}; & & \\
};
\draw (i0.east) -- ++(right:3mm) |- (a1.input 1);
\draw (i1.east) -- ++(right:3mm) |- (a1.input 2);
\draw (i1.east) -- ++(right:3mm) |- (a2.input 1);
\draw (i2.east) -- ++(right:3mm) |- (a2.input 2);
\draw (a1.output) -- ++(right:3mm) |- (o.input 1);
\draw (a2.output) -- ++(right:3mm) |- (o.input 2);
\draw (o.output) -- ++(right:3mm);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usetikzlibrary{arrows.meta}
\begin{document}


\newcommand\dx{1.5}\newcommand\dy{1}


\begin{circuitikz}
\draw[-v] (0,\dy/3*4) to[short, o-] ++(\dx,0);
\draw[-Triangle] (0,\dy) node[ocirc]{} -| ++(\dx/3,\dy/3);
\draw[-Triangle] (0,\dy/3*2) node[ocirc]{} -| ++(\dx/3,-\dy/3);
\draw[-^] (0,\dy/3) to[short, o-] ++(2*\dx/3,0);
\draw (0,0.0) to[short, o-] ++(1.75*\dx,0) rectangle ++(0.2,4*\dy/3);
\end{circuitikz}\qquad\qquad

\begin{circuitikz}
\draw[-v] (0,\dy/3*4) to[short, o-] ++(\dx,0.2);
\draw[-Triangle] (0,\dy) node[ocirc]{} -| ++(\dx/3,\dy/3);
\draw[-Triangle] (0,\dy/3*2) node[ocirc]{} -| ++(\dx/3,-\dy/3);
\draw[-^] (0,\dy/3) to[short, o-] ++(2*\dx/3,-0.2);
\draw (0,0.0) to[short, o-] ++(1.75*\dx,0) rectangle ++(0.2,4*\dy/3);
\end{circuitikz}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm},
>=stealth
}
\begin{document}
\begin{tikzpicture}
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical] {};
\node[transition] (leave critical) [right=of critical] {};
\node[transition] (enter critical) [left=of critical] {};
\draw [->] (enter critical) to (critical);
\draw [->] (waiting) to [out=180,in=90] (enter critical);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\pgfplotsset{
table/search path={.,plotdata}
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [mesh] {x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,x=2cm,y=2cm]
\clip(-2,-1.2)rectangle(2,1.35);
\draw(0,0)ellipse(2.82cm and 2cm);
\draw[dash pattern=on 1pt off 1pt,domain=-3.19:3.33]plot(\x,{(32-8.43*\x)/29.69});
\draw[dash pattern=on 1pt off 1pt,domain=-3.19:3.33]plot(\x,{(-10.52-8.43*\x)/29.69});
\draw[-latex](1.07,-0.66)--(0.72,0.37);
\draw[-latex](0.53,0.93)--(-0.58,0.43);
\draw(-0.58,0.43)--(-1.41,0.05);
\draw(0.72,0.37)--(0.53,0.93);
\scriptsize\node at(1.15,-0.77){$p_1$};
\node at(0.56,1.02){$p_2$};
\node at(-1.5,-0.05){$p_3$};
\node at(1.5,0.8){$T_{p_2}\partial\Omega$};
\node at(0,0){$\Omega$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
  \begin{tikzpicture}
    \begin{axis}[mesh/ordering=x varies]
      \addplot3 [surf] coordinates {

      (0,0,0) (1,0,0)   (2,0,0)   (3,0,0)

      (0,1,0) (1,1,0.6) (2,1,0.7) (3,1,0.5)

      (0,2,0) (1,2,0.7) (2,2,0.8) (3,2,0.5)

    };
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta, bending}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\node (X1) at (0, 1) [circle, draw]{$X_1$};
\node (X1d) at (1.25, 1) []{$= \theta_1^{X_1} + \theta_2^{X_1}$};
\node (X2) at (0, -1) [circle, draw]{$X_2$};
\node (X2d) at (1.65, -1) []{$= \theta_1^{X_2} + \theta_2^{X_2} + \theta_3^{X_2}$};
\draw[->] (X1) to (X2) {};
\node (sum) at (2.1, 0.0) []{$= \sum \big( \overline{\phi}(\theta_1^{X_1} \rightarrow \theta_1^{X_2}), \dots \big)$};
\node (space) at (0, -1.65) [] {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[scale = 0.5,thick, baseline={(0,-1ex/2)}]
\tikzstyle{vertex} = [shape = circle, minimum size = 7pt, inner sep = 1pt]
\node[vertex] (G--8) at (10.5, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--5) at (6.0, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--7) at (9.0, -1) [shape = circle, draw,fill=red] {};
\node[vertex] (G-6) at (7.5, 1) [shape = circle, draw,fill=red] {};
\node[vertex] (G--6) at (7.5, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--4) at (4.5, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--2) at (1.5, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-3) at (3.0, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-5) at (6.0, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-7) at (9.0, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--3) at (3.0, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-4) at (4.5, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G--1) at (0.0, -1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-1) at (0.0, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-2) at (1.5, 1) [shape = circle, draw,fill=black] {};
\node[vertex] (G-8) at (10.5, 1) [shape = circle, draw,fill=black] {};
\draw[] (G-6) .. controls +(0.75, -1) and +(-0.75, 1) .. (G--7);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{patterns}
\usetikzlibrary{intersections}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.markings}
\tikzset{vertex/.style = {inner sep = 0mm,circle,draw,minimum size=5pt,fill=black}
,edge/.style = {line width = 1pt},bounding box/.style = {dash pattern = on 3pt off 3pt}}
\begin{document}
\begin{tikzpicture}[x=2.0cm,y=2.0cm]
\draw[dash pattern=on 2pt off 2pt] (0,0) rectangle (1,1);
\draw [fill=black,line width=1.5pt] (0.25,0.5) circle (3pt);
\draw [fill=black,line width=1.5pt] (0.5,0.75) circle (3pt);
\draw [fill=black,line width=1.5pt] (0.75,0.5) circle (3pt);
\draw [fill=black,line width=1.5pt] (0.5,0.25) circle (3pt);
\draw [line width=1.5pt] (0.25,0.5)--(0.5,0.75);
\draw [line width=1.5pt] (0.5,0.75)--(0.75,0.5);
\draw [line width=1.5pt] (0.75,0.5)--(0.5,0.25);
\draw [line width=1.5pt] (0.5,0.25)--(0.25,0.5);
\draw [line width=1.5pt] (0.25,0.5)--(0.0,0.5);
\draw [line width=1.5pt] (1.0,0.5)--(0.75,0.5);
\draw [line width=1.5pt] (0.5,0.75)--(0.5,1.0);
\draw [line width=1.5pt] (0.5,0.0)--(0.5,0.25);
\draw (0.5,-0.15) node {$G^4_1$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,enumerate}
\usepackage[T1]{fontenc}
\usepackage[textsize=small, color=magenta]{todonotes}
\usepackage{tikz}
\usetikzlibrary{shapes,backgrounds, arrows}
\usetikzlibrary{positioning}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[-latex ,auto ,node distance =1.5 cm and 2cm ,on grid , thin, state/.style ={ circle, top color = white, bottom color = black!20, draw, black, text=blue, minimum width =0.1 cm}]
\node[state] (C){};
\draw (C.0) -- (0:1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{
colormap={example}{color=(red) color=(blue)}}
\tikz \fill[index of colormap=1 of example] (0,0) rectangle (1,1);
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[bullet/.style={circle, fill,minimum size=4pt,inner sep=0pt, outer sep=0pt}]
\useasboundingbox (-1,-1)rectangle(1,1);
\node[bullet] at (-1,-1) (1){};
\node[bullet] at (1,-1) (2){};
\node[bullet] at (-1,1) (3){};
\node[bullet] at (1,1) (4){};
\node[bullet] at (0,0) (0){};
\draw (0) -- (1);
\draw (0) -- (2);
\draw (0) -- (3);
\draw (0) -- (4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

% 定义与原图高度匹配的 RGB 颜色
\definecolor{colorDom}{RGB}{197, 133, 71}
\definecolor{colorCel}{RGB}{0, 102, 144}
\definecolor{colorMet}{RGB}{168, 24, 93}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    xlabel={$\alpha$},
    ylabel={Worst group accuracy},
    % 图例样式：两列，紧贴右下角，调整间距
    legend style={
        at={(1,0)}, 
        anchor=south east, 
        legend columns=2, 
        font=\Large, 
        draw=black, 
        fill=white,
        /tikz/every even column/.append style={column sep=0.5cm}
    },
    grid=major,
    grid style={lightgray},
    % 设置范围和刻度
    xmin=-1, xmax=11,
    ymin=55, ymax=92,
    xtick={0,2,4,6,8,10},
    ytick={60,70,80,90},
    % 图像尺寸和字体调整
    width=12cm, height=6.5cm,
    label style={font=\LARGE},
    tick label style={font=\Large},
    % 全局绘图样式：加粗折线，无标记，取消 smooth 以保持锐角
    every axis plot/.append style={line width=2.5pt, no marks}
]

% 注意：\addplot 的顺序决定了图例中的排版顺序
% 1. Dominoes (第一列)
\addplot[color=colorDom] coordinates {
    (0,75.17) (1,86.0533) (2,88.0267) (3,88.0967) (4,88.5067)
    (5,88.4367) (6,88.98) (7,89.0467) (8,89.1833) (9,88.7067) (10,88.8433)
};
\addlegendentry{Dominoes}

% 2. Metashift (第二列)
\addplot[color=colorMet] coordinates {
    (0,58) (1,76.3) (2,76) (3,77.3) (4,77.3)
    (5,76.6) (6,78.3) (7,78.6) (8,75.6) (9,72) (10,79)
};
\addlegendentry{Metashift}

% 3. CelebA (换行回到第一列)
\addplot[color=colorCel] coordinates {
    (0,81.1) (1,82.2) (2,78.89) (3,83.3) (4,83.3)
    (5,83.3) (6,83.89) (7,84.4) (8,84.4) (9,85.56) (10,85.56)
};
\addlegendentry{CelebA}

\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\usepackage{tikz}
\pgfplotsset{compat=newest}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\usepackage{amsmath}
\usetikzlibrary{arrows,automata}
\usetikzlibrary{positioning}
\tikzset{state/.style={rectangle,rounded corners,draw=black, very thick,minimum height=2em,inner sep=2pt,text centered,}
,}\usepgfplotslibrary{dateplot}
\usetikzlibrary{patterns,shapes}
\begin{document}
\begin{tikzpicture}
\definecolor{color0}{rgb}{0.886274509803922,0.290196078431373,0.2}
\definecolor{color1}{rgb}{0.203921568627451,0.541176470588235,0.741176470588235}
\definecolor{color2}{rgb}{0.596078431372549,0.556862745098039,0.835294117647059}
\definecolor{color3}{rgb}{0.984313725490196,0.756862745098039,0.368627450980392}
\definecolor{color4}{rgb}{0.556862745098039,0.729411764705882,0.258823529411765}
\definecolor{color5}{rgb}{1,0.709803921568627,0.72156862745098}
\begin{axis}[axis background/.style={fill=white},axis line style={white!89.8039215686275!black},tick align=outside,tick pos=left,x grid style={white!89.8039215686275!black},xlabel={\(\displaystyle \mu\)},xmajorgrids,xmin=-2.4975, xmax=8.44750000000001,xtick style={color=white!33.3333333333333!black},xtick={-4,-2,0,2,4,6,8,10},xticklabels={\ensuremath{-}4,\ensuremath{-}2,0,2,4,6,8,10},y grid style={white!89.8039215686275!black},ylabel={\(\displaystyle \sigma\)},ymajorgrids,ymin=-0.6625, ymax=8.4125,ytick style={color=white!33.3333333333333!black},ytick={-2,0,2,4,6,8,10},yticklabels={\ensuremath{-}2,0,2,4,6,8,10}]
\path [draw=blue, fill=blue, opacity=0.15, very thin] (axis cs:1,0) --(axis cs:1,-0.25) --(axis cs:5,-0.25) --(axis cs:5,0) --(axis cs:5,0) --(axis cs:1,0) --cycle;
\addplot [semithick, color0] coordinates {(-2,0.1) (7.95000000000001,0.1)};
\addplot [semithick, color1] coordinates {(-2,0.4) (7.95000000000001,0.4)};
\addplot [semithick, color2] coordinates {(-2,0.7) (7.95000000000001,0.7)};
\addplot [semithick, white!46.6666666666667!black] coordinates {(-2,1.1) (7.95000000000001,1.1)};
\addplot [semithick, color3] coordinates {(-2,1.6) (7.95000000000001,1.6)};
\addplot [semithick, color4] coordinates {(-2,3.4) (7.95000000000001,3.4)};
\addplot [semithick, color5] coordinates {(-2,8) (7.95000000000001,8)};
\end{axis}
\end{tikzpicture}
\end{document}