AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tkz-euclide}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\tikzset{every picture/.style={line width=.2pt}
}\tkzSetUpLine[line width=.2pt]
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(2,1){A}\tkzDefPoint(6,4){B}\tkzDrawSegment(A,B)\tkzMarkSegment[color=brown,size=2pt,pos=0.4,mark=z](A,B)\tkzMarkSegment[color=blue,pos=0.2,mark=oo](A,B)\tkzMarkSegment[pos=0.8,mark=s,color=red](A,B)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikz \fill
[fill=blue!20,draw=blue,thick] (0,0) -- (2,1) arc (90:-90:.5) -- cycle;
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}\foreach \x/\y/\a/\b/\m in {1/1/0/6/*, 2/2/6/0/otimes*, 3/1/0/0/square*, 4/5/6/6/diamond*} {\edef\temp{\noexpand\addplot[scatter,point meta=\a,visualization depends on={value \m \noexpand\as \noexpand\markshape},scatter/use mapped color={color=mapped color, draw opacity=0},scatter/@pre marker code/.append style={/tikz/mark=\noexpand\markshape}] coordinates {(\x,\y)};
\noexpand\addplot[scatter,point meta=\b,visualization depends on={value \m \noexpand\as \noexpand\markshape},scatter/use mapped color={color=mapped color, fill opacity=0},scatter/@pre marker code/.append style={/tikz/mark=\noexpand\markshape}] coordinates {(\x,\y)};
}\temp}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
scatter/@pre marker code/.code={
\ifdim\pgfplotspointmetatransformed pt<300pt
\def\markopts{mark=square*,fill=blue}
\else
\ifdim\pgfplotspointmetatransformed pt<600pt
\def\markopts{mark=triangle*,fill=orange}
\else
\def\markopts{mark=pentagon*,fill=red}
\fi
\fi
\expandafter\scope\expandafter[\markopts]
},
scatter/@post marker code/.code={
\endscope
},
]
\addplot+ [scatter, scatter src=y, samples=40]
{sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}[scale=3,>=stealth]
\clip(-.1,-.2)rectangle(1.1,1.51);
\draw[step=.5,gray,very thin](-1.4,-1.4)grid(1.4,1.4);
\draw[->](-1.5,0)--(1.5,0);
\draw[->](0,-1.5)--(0,1.5);
\draw(0,0)circle(1);
\filldraw[fill=green!20,draw=green!50!black](0,0)--(.3,0)arc(0:30:.3)--cycle;
\draw[red,very thick](30:1)--+(0,-.5);
\draw[blue,very thick](30:1)++(0,-.5)--(0,0);
\path[name path=a](1,0)--(1,1);
\path[name path=b](0,0)--(30:1.5);
\draw[name intersections={of=a and b,by=x},very thick,orange](1,0)--(x);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\begin{document}
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2cm,semithick,state/.style={circle, draw, minimum size=.9cm}]
\node[state] (q<) {$q_<$};
\node[state] (q1) [right of=q<] {$q_1$};
\node[state] (q2) [right of=q1] {$q_2$};
\node[state] (q3) [right of=q2] {$q_3$};
\node[state] (q4) [right of=q3] {$q_4$};
\node[] (dot) [right of=q4] {$\cdots$};
\node[state] (qn) [right of=dot] {$q_n$};
\node[state] (q>) [right of=qn] {$q_>$};
\node[state] (q2s) at (4,1.5) {$\hat{q_2}$};
\node[state] (q4s) at (8,1.5) {$\hat{q_4}$};
\path
(q1) edge node {$c$} (q<)
(q2) edge [bend left] node [pos=0.1, above left] {$c$} (q<)
(q3) edge [bend left] node [pos=0.08, above left] {$c$} (q<)
(q4) edge [bend left] node [pos=0.06, above left] {$c$} (q<)
(qn) edge [bend left] node [pos=0.03, above left] {$c$} (q<)
(q>) edge node {$c$} (qn)
(q<) edge [bend left=40] node [] {$\Sigma, c$} (qn)
(q>) edge [loop below] node {$\Sigma$} (q>)
(q2s) edge [loop right] node {$\Sigma$} (q2s)
(q4s) edge [loop right] node {$\Sigma$} (q4s)
(q2s) edge node {$c$} (q2)
(q4s) edge node {$c$} (q4)
;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale = 0.75]
\node[circle, draw, fill = black, inner sep=1pt] at (0,0) (node a) {}; \node at (0,-0.3) {\small $a$}; \node at (0,0.5) {\small $r_{a}$};
\node[circle, draw, fill = black, inner sep=1pt] at (4,0) (node b) {}; \node at (4,-0.3) {\small $b$}; \node at (4,0.5) {\small $r_{b}$};
\node[circle, draw, fill = black, inner sep=1pt] at (3,0.6) (node s) {}; \node at (3,0.25) {\small $s$}; \node at (3,0.9) {\small $r_{s}$};
\draw[bend right = 40,thin] (node a) to (node b); \draw[bend left = 40,thin] (node a) to (node b);
\node at (2,1.2) {$G_1$}; \node at (2,-1.2) {$G_2$};
\draw[thick] (5,0) -- (6.5,0) -- (6,0.5);\draw[thick] (6.5,0) -- (6,-0.5);
\node[circle, draw, fill = black, inner sep=1pt] at (7.5,0) (node a2) {}; \node at (7.5,-0.3) {\small $a$}; \node at (7.5,0.3) {\small $r$};
\node[circle, draw, fill = black, inner sep=1pt] at (8.5,0) (node s2) {}; \node at (8.5,-0.3) {\small $s$}; \node at (8.5,0.3) {\small $r_s$};
\node[circle, draw, fill = black, inner sep=1pt] at (9.5,0) (node c2) {}; \node at (9.5,-0.3) {\small $b$}; \node at (9.8,0.3) {\small $-r-r_s$};
\node at (8.5,1) {$G_1$}; \draw[thin] (node a2) -- (node c2);
\draw[thick] (10.5,0) -- (11.5,0);\draw[thick] (11,0.5) -- (11,-0.5);
\node[circle, draw, fill = black, inner sep=1pt] at (12.5,0) (node c3) {}; \node at (12.5,-0.3) {\small $a$}; \node at (12.5,0.3) {\small $r_{a}-r$};
\node[circle, draw, fill = black, inner sep=1pt] at (14.5,0) (node b3) {}; \node at (14.5,-0.3) {\small $b$}; \node at (14.5,0.3) {\small $r_{b} + r + r_s$};
\node at (13.8,1) {$G_2$}; \draw[thin] (node c3) -- (node b3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
angles,
quotes,
}
\begin{document}
\begin{tikzpicture}[scale=3]
\coordinate (A) at (1,0);
\coordinate (B) at (0,0);
\coordinate (C) at (30:1cm);
\draw (A) -- (B) -- (C)
pic [draw=green!50!black, fill=green!20, angle radius=9mm,
"$\alpha$"] {angle = A--B--C};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt,cram width=2pt}
\begin{document}
\chemfig{*5(---([:90]-A-B)--)}\qquad\chemfig{*5(---(-[:90]A-B)--)}\qquad\chemfig{*5(---([::+0]-A-B)--)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\usetikzlibrary{shapes.geometric,patterns,decorations.shapes}
\begin{document}
\begin{tikzpicture}
\def\r{1.7320508075688772935274463415058723669428052538103806280558069794}
\def\s{0.7320508075688772935274463415058723669428052538103806280558069794}
\foreach \inn in {0,7}{
\draw (0+\inn,0) -- (\r+\inn,0) -- (\r/2+\inn,0.5) -- (0+\inn,0);
\draw[very thick, ->] (2+\inn,0.25) -- (2.6+\inn,0.25);
\draw (3+\inn,0) -- (6+\inn,0) -- (4.5+\inn,\r/2) -- (3+\inn,0);
\draw (4+\inn,0) -- (4.5+\inn,\r/2) -- (5+\inn,0);
}
\foreach \inn in {\s/2, 7+\s/2}{
\draw (0+\inn,-2.5) -- (1+\inn,-2.5) -- (0.5+\inn,\r/2-2.5) -- (0+\inn,-2.5);
\draw[very thick, ->] (2-\s/2+\inn,0.5-2.5) -- (2.6-\s/2+\inn,0.5-2.5);
\draw (3+\inn,-2.5) -- (3+\r+\inn,-2.5) -- (3+\r/2+\inn,1.5-2.5) -- (3+\inn,-2.5);
\draw (3+\inn,-2.5) -- (3+\r/2+\inn,0.5-2.5);
\draw (3+\r+\inn,-2.5) -- (3+\r/2+\inn,0.5-2.5) -- (3+\r/2+\inn,1.5-2.5);
}
\draw[line width=2pt, ->] (3+\r/2+0.14, 0.63-2.5) -- (3+\r/2+\s/2, 0.2-2.5) -- (3+\r/2+0.63, 0.63-2.5);
\draw[line width=2pt, <-] (7+3+\r/2+0.14, 0.63-2.5) -- (7+3+\r/2+\s/2, 0.2-2.5) -- (7+3+\r/2+0.63, 0.63-2.5);
\draw[line width=2pt, ->] (3.8-0.05, 0.25) -- (4.5-0.05, 0.25) -- (5.25-0.05, 0.25);
\draw[line width=2pt, <-] (7+3.8-0.05, 0.25) -- (7+4.5-0.05, 0.25) -- (7+5.25-0.05, 0.25);
\node[scale=0.8] at (\r/2-0.05, 0.25) {$A^+$};
\node[scale=0.8] at (\r/2-0.05+7, 0.25) {$A^-$};
\node[scale=0.8] at (\s/2+0.5, 0.3-2.5) {$B^+$};
\node[scale=0.8] at (\s/2+0.5+7, 0.3-2.5) {$B^-$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip(-2,-0.2)rectangle(2,0.8);
\draw[step=.5cm,gray,very thin](-1.4,-1.4)grid(1.4,1.4);
\filldraw[fill=green!20,draw=green!50!black](0,0)--(3mm,0mm)arc[start angle=0,end angle=30,radius=3mm]--cycle;
\draw[->](-1.5,0)--(1.5,0)coordinate(x axis);
\draw[->](0,-1.5)--(0,1.5)coordinate(y axis);
\draw(0,0)circle[radius=1cm];
\draw[very thick,red](30:1cm)--node[left=1pt,fill=white]{$\sin\alpha$}(30:1cm |- x axis);
\draw[very thick,blue](30:1cm |- x axis)--node[below=2pt,fill=white]{$\cos\alpha$}(0,0);
\path[name path=upward line](1,0)--(1,1);
\path[name path=sloped line](0,0)--(30:1.5cm);
\draw[name intersections={of=upward line and sloped line,by=t}][very thick,orange](1,0)--node[right=1pt,fill=white]{$\displaystyle\tan\alpha\color{black}=\frac{{\color{red}\sin\alpha}}{\color{blue}\cos\alpha}$}(t);
\draw(0,0)--(t);
\foreach\x/\xtext in{-1,-0.5/-\frac{1}{2},1}\draw(\x cm,1pt)--(\x cm,-1pt)node[anchor=north,fill=white]{$\xtext$};
\foreach\y/\ytext in{-1,-0.5/-\frac{1}{2},0.5/\frac{1}{2},1}\draw(1pt,\y cm)--(-1pt,\y cm)node[anchor=east,fill=white]{$\ytext$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\usepgfplotslibrary{
patchplots
}

\begin{document}
  \begin{tikzpicture}
    \begin{axis}[small,view={0}{90},colorbar]
      \addplot3 [
      surf,
      shader=interp,
      patch type=bilinear,
      ] coordinates {
      (0,0,0) (1,0,0)

      (0,1,0) (1,1,1)
    };
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{inductor=cute, quadpoles style=inline}
\draw
(0,0) to[R] ++(0,-2)
node[transformer, anchor=A1](T){}
(T.A2) node[ground](GND){}
(T.inner dot A1) node[font=\small\boldmath]{$\oplus$}
(T.inner dot B2) node[]{$+$}
(T.B1) node[above, ocirc]{}
(T.B2) -- (GND);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\tikzset{dot/.style={draw,fill,circle,inner sep=0pt,minimum size=3pt}
,vcolour/.style={draw,inner sep=1.5pt,font=\scriptsize,label distance=2pt}}
\begin{document}
\begin{tikzpicture}
\coordinate (base);
\path (base)--+(-162:1)node[dot](v1)[label=below:\(v_1\)][label={[vcolour]above:1}]{}(base)--+(126:1)node[dot](v2)[label=left:\(v_2\)][label={[vcolour]above:2}]{}(base)--+(54:1)node[dot](v3)[label=right:\(v_3\)][label={[vcolour]above:0}]{}(base)--+(-18:1)node[dot](v4)[label=below:\(v_4\)][label={[vcolour]above:3}]{}(base)--+(-90:1)node[dot](v5)[label=below:\(v_5\)][label={[vcolour]right:1}]{};
\draw(v1)--(v3)--(v5)--(v2)--(v4)--(v1);
\draw(v1)--+(-162:1)node[dot](w1)[label=below:\(w_1\)]{}(v2)--+(126:1)node[dot](w2)[label=above left:\(w_2\)][label={[vcolour]above right:\textbf{?}}]{}(v3)--+(54:1)node[dot](w3)[label=above right:\(w_3\)][label={[vcolour]above left:2}]{}(v4)--+(-18:1)node[dot](w4)[label=below:\(w_4\)]{};
\draw(w1)--(w2)--(w3)--(w4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip(-.1,-.2)rectangle(1.1,.75);
\draw[step=.5cm,gray,very thin](-1.4,-1.4)grid(1.4,1.4);
\draw(-1.5,0)--(1.5,0);
\draw(0,-1.5)--(0,1.5);
\draw(0,0)circle(1);
\filldraw[fill=green!20!white,draw=green!50!black](0,0)--(3mm,0)arc(0:30:3mm)--cycle;
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[>={Stealth[black]}, every edge/.style={draw=black, very thick}]
\node (L) at (-1, 4) {$L$};
\node (Ls) at (-1, 2) {$L^*$};
\node (eps) at (-3, 2) {$\varepsilon$};
\node (A) at (1, 0) {$A$};
\node (Y) at (3, 0) {$Y$};
\path [->] (L) edge (Ls);
\path [->] (A) edge (Y);
\path [->] (L) edge (A);
\path [->] (L) edge (Y);
\path [->] (eps) edge (Ls);
\end{tikzpicture}
\end{document}
\documentclass[border=3mm,tikz]{standalone}
\usetikzlibrary{arrows.meta,chains,positioning,quotes,shapes.geometric}
\begin{document}
\begin{tikzpicture}[node distance=6mm and 18mm,start chain=A going below,arr/.style={-Straight Barb,semithick},base/.style={draw,minimum width=32mm,minimum height=8mm,align=center,on chain=A,join=by arr},startstop/.style={base,rounded corners,fill=red!30},process/.style={base,fill=orange!30},decision/.style={base,diamond,fill=green!30},every edge quotes/.style={auto=right,font=\small}]
\node[startstop]{input};
\node[process]{Loop start};
\node[process]{1};
\node[process]{2};
\node[decision]{Yes or No ?};
\node[startstop]{Stop};
\draw[arr](A-5.west)to["No"]++(-1.8,0)|-(A-2);
\path(A-5)to["Yes"](A-6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[small,view={0}{90}]
\addplot3 [
surf,
shader=interp,
patch type=bilinear,
mesh/color input=explicit,
] coordinates {
(0,0,0) [color=blue] (1,0,0) [color=blue]

(0,1,0) [color=blue] (1,1,1) [color=red]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,mathrsfs,amsmath,amsthm,amsfonts,mathtools,times,fontenc,tikz}
\begin{document}
\begin{tikzpicture}
\tikzstyle{point}=[inner sep=0pt]
\node (a)[point,label=left:$a$] at (0,0) {\tiny{$\bullet$}};
\node (b)[point,label=below:$b$] at (-6/5,1) {\tiny{$\bullet$}};
\node (c)[point,label=right:$c$] at (0,3/2) {\tiny{$\bullet$}};
\node (d)[point,label=right:$d$] at (3/2,3/4) {\tiny{$\bullet$}};
\node (g)[point,label=left:$g$] at (-1,-5/4) {\tiny{$\bullet$}};
\node (f)[point,label=below:$f$] at (1/4,-6/4) {\tiny{$\bullet$}};
\node (e)[point,label=right:$e$] at (3/2,-1/2) {\tiny{$\bullet$}};
\draw (a.center) -- (b.center);
\draw (a.center) -- (c.center);
\draw (a.center) -- (g.center);
\draw (a.center) -- (e.center);
\draw (a.center) -- (d.center);
\draw (a.center) -- (f.center);
\draw (g.center) -- (f.center);
\draw (b.center) -- (c.center);
\draw (d.center) -- (e.center);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=0.7, transform shape]
\draw (0,0) node (start) {}
to[sV=$V_i$] ++(0,2+\ctikzvalof{tubes/height})
to[C=$C_i$] ++(2,0) coordinate(Rg)
to[R=$R_g$] (Rg |- start)
(Rg) to[short,*-] ++(1,0)
node[triode,anchor=control] (Tri) {} ++(2,0)
(Tri.cathode) to[R=$R_c$,-*] (Tri.cathode |- start)
(Tri.anode) to [R=$R_a$] ++(0,2)
to [short] ++(3.5,0) node(Vatop) {}
to [V<=$V_a$] (Vatop |- start)
to [short] (start)
(Tri.anode) ++(0,0.2) to[C=$C_o$,*-o] ++(2,0)
(Tri.cathode) ++(0,-0.2) to[short,*-] ++(1.5,0) node(Cctop) {}
to[C=$C_c$,-*] (start -| Cctop)
;
\draw[red,thin,dashed] (Tri.north west) rectangle (Tri.south east);
\draw (Tri.east) node[right] {12AX7};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.7, transform shape]
\node [draw, shape=circle, scale=.8] (u1) at (0,6) {};
\node [draw, shape=circle, scale=.8] (u2) at (0,3) {};
\node [draw, shape=circle, scale=.8] (u3) at (0,0) {};
\node [draw, shape=circle, scale=.8] (v1) at (10,6) {};
\node [draw, shape=circle, scale=.8] (v2) at (10,3) {};
\node [draw, shape=circle, scale=.8] (v3) at (10,0) {};
\node [draw, fill=black, shape=circle, scale=.8] (u11) at (3.3,6) {};
\node [draw, shape=circle, scale=.8] (u12) at (6.6,6) {};
\node [draw, shape=circle, scale=.8] (u21) at (2,3) {};
\node [draw, shape=circle, scale=.8] (u22) at (4,3) {};
\node [draw, shape=circle, scale=.8] (u23) at (6,3) {};
\node [draw, fill=black, shape=circle, scale=.8] (u24) at (8,3) {};
\node [draw, shape=circle, scale=.8] (u31) at (1.3,0.8) {};
\node [draw, shape=circle, scale=.8] (u32) at (2.5,1.5) {};
\node [draw, shape=circle, scale=.8] (u33) at (7.5,4.5) {};
\draw(u1)--(u11)--(u12)--(v1)--(u2)--(v3);
\draw(v2)--(u1)--(v3)--(u3)--(v2);
\draw(u2)--(u21)--(u22)--(u23)--(u24)--(v2);
\draw(u3)--(u31)--(u32)--(u33)--(v1);
\node [scale=1.2] at (-0.4,6) {$u_1$};
\node [scale=1.2] at (-0.4,3) {$u_2$};
\node [scale=1.2] at (-0.4,0) {$u_3$};
\node [scale=1.2] at (10.4,6) {$v_1$};
\node [scale=1.2] at (10.4,3) {$v_2$};
\node [scale=1.2] at (10.4,0) {$v_3$};
\node [scale=1.1] at (3.3,6.35) {$x_1$};
\node [scale=1.1] at (6.6,6.35) {$x_2$};
\node [scale=1.1] at (2,3.35) {$y_1$};
\node [scale=1.1] at (4,3.35) {$y_2$};
\node [scale=1.1] at (6,3.35) {$y_3$};
\node [scale=1.1] at (8,3.35) {$y_4$};
\node [scale=1.1] at (1.3, 1.15) {$z_1$};
\node [scale=1.1] at (2.5,1.85) {$z_2$};
\node [scale=1.1] at (7.6,4.85) {$z_3$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amssymb,amsthm,bbm}
\usepackage{amsmath}
\usepackage{color,psfrag}
\usepackage{tkz-euclide}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{arrows,decorations.markings}
\usetikzlibrary{shadings,intersections}
\usetikzlibrary{matrix}
\usepackage{pgfplots}
\usepackage{tikz-3dplot}
\begin{document}
\begin{tikzpicture}[scale=2.3, one end extended/.style={shorten >=-#1},one end extended/.default=1cm,]
\coordinate (O1) at (0,0,0);
\coordinate (A1) at (0,0.561,0);
\coordinate (B1) at (0,-1.061,0);
\coordinate (C1) at (-1.566,-0.354,-0.5);
\coordinate (D1) at (0.866,-0.354,-0.5);
\coordinate (aa) at (-1.566/2,-0.35,-0.25);
\coordinate (bb) at (0.866/2,-0.35,-0.25);
\coordinate (AC) at ($(C1)!(aa)!(A1)$);
\coordinate (BC) at ($(C1)!(aa)!(B1)$);
\coordinate (AD) at ($(D1)!(bb)!(A1)$);
\coordinate (BD) at ($(D1)!(bb)!(B1)$);
\coordinate (O) at ($(A1)!0.6!(B1)$);
\draw[thick] (A1) -- (B1) node[pos=0.4,right]{$e$};
\draw[thick] (A1) -- (C1);
\draw[thick] (A1) -- (D1);
\draw[thick] (B1) -- (C1);
\draw[dashed,thick] (C1) -- (D1);
\draw[thick] (D1) -- (B1);
\draw[red,thick,postaction={decorate},decoration={markings,mark={at position 0.9 with {\arrow[scale=1.5,>=stealth]{>}}}}] (aa) -- (O) node[pos=0.9,below]{$l$} node[pos=0.1,below]{$s(l)$};
\draw[red,thick] (O) -- (bb) node[pos=0.9,below]{$t(l)$};
\draw [red,thick,one end extended] (aa) -- (AC);
\draw [red,thick,one end extended] (aa) -- (BC);
\draw [red,thick,one end extended] (bb) -- (AD);
\draw [red,thick,one end extended] (bb) -- (BD);
\draw[red] (aa) node{$\bullet$};
\draw[red] (bb) node{$\bullet$};
\draw ([shift=(-10:0.37)]C1) node{$\phi_{s(l)}$};
\draw ([shift=(190:0.34)]D1) node{$\phi_{t(l)}$};
\draw[->] ([shift=(-60:0.2cm)]A1) arc (-60:230:0.2cm and 0.13cm) node[midway,above]{$\Theta_l+\pi$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,xspace,verbatim,multirow,bm,bbm,paralist,enumitem}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{shapes}
\usetikzlibrary{backgrounds}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{patterns}
\usetikzlibrary{calc}
\usetikzlibrary{fit}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (121,179) .. controls (121,149.18) and (145.18,125) .. (175,125) .. controls (204.82,125) and (229,149.18) .. (229,179) .. controls (229,208.82) and (204.82,233) .. (175,233) .. controls (145.18,233) and (121,208.82) .. (121,179) -- cycle ;
\draw (332,179) .. controls (332,149.18) and (356.18,125) .. (386,125) .. controls (415.82,125) and (440,149.18) .. (440,179) .. controls (440,208.82) and (415.82,233) .. (386,233) .. controls (356.18,233) and (332,208.82) .. (332,179) -- cycle ;
\draw (183,146.5) .. controls (183,142.63) and (186.13,139.5) .. (190,139.5) .. controls (193.87,139.5) and (197,142.63) .. (197,146.5) .. controls (197,150.37) and (193.87,153.5) .. (190,153.5) .. controls (186.13,153.5) and (183,150.37) .. (183,146.5) -- cycle ;
\draw (364,146.5) .. controls (364,142.63) and (367.13,139.5) .. (371,139.5) .. controls (374.87,139.5) and (378,142.63) .. (378,146.5) .. controls (378,150.37) and (374.87,153.5) .. (371,153.5) .. controls (367.13,153.5) and (364,150.37) .. (364,146.5) -- cycle ;
\draw [draw=blue] (190,139.5) .. controls (225,74) and (336,72) .. (371,139.5) ;
\draw [draw=red] [line width=1.2pt] (200,160) -- (350,160);
\draw [draw=red] [line width=1.2pt] (200,180) -- (350,180);
\draw [draw=red] [line width=1.2pt] (200,200) -- (350,200);
\draw (145,99) node [anchor=north west][inner sep=0.75pt] [align=left] {\large{$S$}};
\draw (404,99) node [anchor=north west][inner sep=0.75pt] [align=left] {\large{$T$}};
\draw (383,138) node [anchor=north west][inner sep=0.75pt] [align=left] {\LARGE{$t$}};
\draw (168,138) node [anchor=north west][inner sep=0.75pt] [align=left] {\LARGE{$s$}};
\draw (276,140) node [anchor=north west][inner sep=0.75pt] [align=left] {\large{$X$}};
\draw (242,65.5) node [anchor=north west][inner sep=0.75pt] [align=left] {\Large{$e \in G-H$}};
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{fillbetween}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
data cs=polar,
smooth,
axis lines = center,
axis equal,
xlabel = $x$,
ylabel = {$y$},
ymin=-2.5, ymax=2.5
]
\addplot [name path=f, domain=0:180] {2};
\addplot [domain=180:360] {2};
\path[name path=axis] (-3,0) -- (3,0);
\addplot [thick,
fill=red,fill opacity=0.5
]
fill between[
of=f and axis,
soft clip={domain=-3:3},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->] (-1.2,0) -- (6,0) node[right] {$x$};
\draw[->] (0,-0.5) -- (0,6) node[right] {$f(x)$};
\draw[dotted] (0.5,0) -- (0.5,6);
\draw[dotted] (1,0) -- (1,6);
\draw[dotted] (-0.5,0) -- (-0.5,6);
\draw
node[below, scale=0.8] at (-0.5,0) {$-\frac{\eta}{2}$}
node[below, scale=0.8] at (0.5,0) {$\frac{\eta}{2}$}
node[below, scale=0.8] at (1,0) {$\eta$}
node[below, scale=0.9] at (5,0) {$a$}
node[left, scale=0.8] at (0,4) {$\frac{1}{2}$};
\draw[line width=1pt, red] (-0.5,6) -- (0.5,2);
\draw[line width=1pt, blue] (1,1.5) -- (5,0);
\draw[line width=1pt, green] (0.5,2) to[out=-70, in=160] (1,1.5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin},
>=stealth
}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip (-0.6,-0.2) rectangle (0.6,1.51);
\draw[step=.5cm,help lines] (-1.4,-1.4) grid (1.4,1.4);
\filldraw[fill=green!20,draw=green!50!black] (0,0) -- (3mm,0mm)
arc [start angle=0, end angle=30, radius=3mm] -- cycle;
\draw[->] (-1.5,0) -- (1.5,0); \draw[->] (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\foreach \x in {-1,-0.5,1}
\draw (\x cm,1pt) -- (\x cm,-1pt) node[anchor=north] {$\x$};
\foreach \y in {-1,-0.5,0.5,1}
\draw (1pt,\y cm) -- (-1pt,\y cm) node[anchor=east] {$\y$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsthm, amsfonts, mathrsfs}
\usepackage{tikz-network}
\usetikzlibrary{positioning,patterns, calc}
\usetikzlibrary{graphs,graphs.standard,quotes}
\begin{document}
\begin{tikzpicture}[scale=.3,auto=left, rotate=-36]
\tikzstyle{every node}=[draw, circle, thick, fill=black!20, scale=0.4]
\def \r {5cm}\node (0) at (-90+360*0/5:\r) {$0$};
\node (1) at (-90+360*1/5:\r) {$1$};
\node (2) at (-90+360*2/5:\r) {$2$};
\node (3) at (-90+360*3/5:\r) {$3$};
\node (4) at (-90+360*4/5:\r) {$4$};
\foreach \x in {0,...,4}{
\foreach \y in {\x,...,4}{\draw[thick,black!70] (\x)--(\y);
\draw[thick,dashed,white] (0) -- (2);
\draw[thick,dashed,white] (1) -- (3);
}}
\end{tikzpicture}
\end{document}