AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{colortbl}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18,every axis plot/.append style={thick}
}\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\begin{axis}[name=plot1,xlabel={Threshold (mm)},ylabel={PCK (\%)},xmin=0,xmax=100,ymin=0,ymax=100,xtick={0,20,40,60,80,100},ytick={0,20,40,60,80,100},legend pos=south east,ymajorgrids=true,grid style=dashed,width=\textwidth,legend style={font=\footnotesize},cycle list name=color list]\addplot coordinates {(0,0) (10,2.64) (20,18.13) (30,41.55) (40,58.65) (50,69.08) (60,74.77) (70,77.87) (80,80.30) (90,82.22) (100,83.61)};
\addlegendentry{VoxelPose$^\S$}\addplot coordinates {(0,0) (10,3.82) (20,20.03) (30,43.27) (40,61.16) (50,71.63) (60,77.02) (70,80.28) (80,82.57) (90,84.44) (100,85.75)};
\addlegendentry{Faster-VP$^\S$}\addplot coordinates {(0,0) (10,6.04) (20,30.08) (30,55.67) (40,71.92) (50,79.86) (60,84.01) (70,86.59) (80,88.26) (90,89.39) (100,90.38)};
\addlegendentry{Graph$^\S$}\addplot coordinates {(0,0) (10,11.22) (20,43.07) (30,64.81) (40,75.34) (50,81.46) (60,84.53) (70,85.95) (80,86.98) (90,87.77) (100,88.28)};
\addlegendentry{VoxelPose$^*$}\addplot coordinates {(0,0) (10,11.93) (20,42.77) (30,67.73) (40,78.12) (50,83.56) (60,86.36) (70,87.83) (80,88.82) (90,89.50) (100,89.96)};
\addlegendentry{Faster-VP$^*$}\addplot coordinates {(0,0) (10,8.99) (20,38.46) (30,61.33) (40,73.98) (50,81.35) (60,84.77) (70,87.35) (80,89.47) (90,90.66) (100,91.35)};
\addlegendentry{MVPose}\addplot coordinates {(0,0) (10,9.73) (20,36.82) (30,59.44) (40,76.08) (50,87.83) (60,93.39) (70,96.16) (80,97.21) (90,97.78) (100,98.24)};
\addlegendentry{4DA}\addplot coordinates {(0,0) (10,18.17) (20,63.07) (30,86.66) (40,95.02) (50,98.22) (60,99.19) (70,99.37) (80,99.48) (90,99.56) (100,99.64)};
\addlegendentry{Ours}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}\addplot+[legend image post style={sharp plot, line width=1pt, mark=none},mark=*,color=blue,very thin,only marks,mark size=0.8pt]{-x*(x-2)};
\addlegendentry{Measurment}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.6}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend columns=2
]
\addplot {x};
\addlegendentry{$x$~~~~~~}
\addplot {x+4};
\addlegendentry{$x$+4~~~~~~~}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
polar
}
\begin{document}
\begin{tikzpicture}
\begin{polaraxis}
\addplot+ [
polar comb,
] coordinates {
(300,1)
(20,0.3)
(40,0.5)
(120,1)
(200,0.4)
};
\end{polaraxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm,tikz}
\usetikzlibrary{calc,math,shapes.geometric,patterns,arrows.meta}
\newcommand{\Vnew}{V_{\operatorname{new}
}}
\begin{document}
\begin{tikzpicture}[information text/.style={fill=gray!10,inner sep=1ex}, scale=2]
\def\a{1}
\def\b{0}
\def\c{.4}
\def\d{.5}
\def\e{0}
\def\y{1.8}
\def\n{1}
\def\layer{\draw[->] (0,0) -- (5,0);
\draw[->] (0,0) -- (0,3);
\draw (1,1) -- (3,1) -- (2,2) -- cycle;
}
\clip (-.5,-.2) rectangle (5.1,3.3);
\draw[->] (0,0) node[left]{$lS$} -- (0,\n*\y+1) node[left]{$l$};
\begin{scope}[cm={\a,\b,\c,\d,(0,\e)}]
\layer\draw (2,2) -- (2.2,2) node [right]{\small{$\iota\Vnew(S)$}};
\draw (2,1.4) node {\small{$\iota S$}};
\draw (2,2) circle [radius=1.41cm];
\draw[<->,>=stealth] (2,2) -- node[right] {\small{$D_{lS}$}} (2-1.41*.6,2+1.41*.8);
\end{scope}
\begin{scope}[yshift=\y cm]
\draw (0,0) node[left]{$lS{+}1$};
\begin{scope}[cm={\a,\b,\c,\d,(0,\e)}]
\fill[white] (0,0) rectangle (5,5);
\layer\draw (2,2) -- (2.2,2) node [right]{\small{$(\Vnew(S),lS{+}1)$}};
\draw (2,1)--(2,2);
\coordinate (A) at (2,2);
\end{scope}
\end{scope}
\begin{scope}[cm={\a,\b,\c,\d,(0,\e)}]
\foreach \x in {(1,1),(2,1),(3,1),(1.5,1.25),(2.5,1.25),(1.5,1.5),(2.5,1.5),(2,1.5),(2,2)}\draw[->,gray] (A) -- \x;
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { a -> {b,c,d} -> {e -> {f,g}, h} };
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[blue] (1.414,.707,0) -- (1.414,0,.707) -- (1.414,-.707,0) -- (1.414,0,-.707) -- cycle;
\draw[blue,dashed] (-1.414,.707,0) -- (-1.414,0,.707) -- (-1.414,-.707,0) -- (-1.414,0,-.707) -- cycle;
\draw[red] (.707,1.414,0) -- (0,1.414,.707) -- (-.707,1.414,0) -- (0,1.414,-.707) -- cycle;
\draw[red,dashed] (.707,-1.414,0) -- (0,-1.414,.707) -- (-.707,-1.414,0) -- (0,-1.414,-.707) -- cycle;
\draw[green] (.707,0,1.414) -- (0,.707,1.414) -- (-.707,0,1.414) -- (0,-.707,1.414) -- cycle;
\draw[green,dashed] (.707,0,-1.414) -- (0,.707,-1.414) -- (-.707,0,-1.414) -- (0,-.707,-1.414) -- cycle;
\draw (1.414,.707,0) -- (.707,1.414,0)
(1.414,0,.707) -- (.707,0,1.414)
(0,1.414,.707) -- (0,.707,1.414)
(1.414,-.707,0) -- (.707,-1.414,0)
(-.707,0,1.414) -- (-1.414,0,.707)
(0,-.707,1.414) -- (0,-1.414,.707)
(-.707,1.414,0) -- (-1.414,.707,0)
(-1.414,-.707,0) -- (-.707,-1.414,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=middle,
axis on top,
enlargelimits,
title={Global path with \texttt{cubic spline}},
]
\addplot [
mark=*,
patch,
patch type=cubic spline,
point meta=none,
blue,
fill=blue!60!black,
] table {
-1 -1
1 1
-0.333333 -0.037037
0.333333 +0.037037
1 1
2 -0.5
1.333333 1.5
1.666666 1
}
\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (x1) at (6,2) {$x_1$};
\node (x2) at (5,2) {$x_2$};
\node (a) at (4,2) {$\dots$};
\node () at (3,2) {$\dots$};
\node (xm-1) at (1,2) {$x_{m-1}$};
\node (xm) at (0,2) {$x_m$};
\node (t1) at (6,0) {$t_1$};
\node (t2) at (5,0) {$t_2$};
\node () at (3,0) {$\dots$};
\node (b) at (2,0) {$\dots$};
\node (tm-1) at (1,0) {$t_{m-1}$};
\node (tm) at (0,0) {$t_m$};
\path[-] (x1) edge (t1);
\path[-] (t1) edge (x2);
\path[-] (x2) edge (t2);
\path[-] (t2) edge (a);
\path[-] (xm) edge (tm-1);
\path[-] (xm) edge (tm);
\path[-] (tm-1) edge (xm-1);
\path[-] (xm-1) edge (b);
\path[-] (tm) edge[bend right=160] (x1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
level distance=1cm,
sibling distance=1cm,
}
\begin{document}
\begin{tikzpicture}[thick]
\node [red] {root}
[green]
child
child;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path[nodes={circle,fill=yellow!80!black,draw}]
(0,0) node(a) {a}
(2,0.55) node(b) {b}
(1,1.5) node(c) {c}
(2,1.75) node(d) {d};
\foreach \source/\target in {a/b, b/c, c/a, c/d}
\draw (\source) .. controls +(.75cm,0pt) and +(-.75cm,0pt)..(\target);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfsetfillcolor{lightgray}
\foreach \latitude in {-90,-75,...,30}
{
\foreach \longitude in {0,20,...,360}
{
\pgfpathmoveto{\pgfpointspherical{\longitude}{\latitude}{1}}
\pgfpathlineto{\pgfpointspherical{\longitude+20}{\latitude}{1}}
\pgfpathlineto{\pgfpointspherical{\longitude+20}{\latitude+15}{1}}
\pgfpathlineto{\pgfpointspherical{\longitude}{\latitude+15}{1}}
\pgfpathclose
}
\pgfusepath{fill,stroke}
}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}
\tikzset{
box/.style={draw, rectangle, thick, text centered, minimum height=3em},
line/.style={draw, thick, -latex'}
}
\begin{document}
\begin{tikzpicture}[auto]
\node [box] (inv) {Inventory};
\node [box, below=0.5cm of inv] (deter) {Deterioration};
\node [box, right=0.5cm of deter] (noobs) {No Obsolescence/Deterioration};
\node [below=0.5cm of deter] (vuoto1) {};
\node [box, left=0.5cm of deter] (obs) {Obsolescence};
\node [box, below=0.5cm of vuoto1, xshift=-2cm] (decay) {Decaying products};
\node [box, below=0.5cm of vuoto1, xshift=2cm] (per) {Perishable Products};
\node [below=0.5cm of per] (vuoto2) {};
\node [box, below=0.5cm of vuoto2, xshift=2cm] (fix) {Fixed Lifetime};
\node [box, below=0.5cm of vuoto2, xshift=-2cm] (cont) {Continuously Deteriorating};
\path [line] (inv) -- (deter);
\path [line] (inv) -| (noobs);
\path [line] (inv) -| (obs);
\path [line] (deter) -- (vuoto1);
\path [line] (vuoto1) -| (decay);
\path [line] (vuoto1) -| (per);
\path [line] (per) -- (vuoto2);
\path [line] (vuoto2) -| (cont);
\path [line] (vuoto2) -| (fix);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath}
\usepackage{color,soul}
\usepackage{tikz,ifthen,calc}
\usetikzlibrary{positioning,shapes,shapes.symbols,patterns,calc,through,backgrounds,decorations.pathreplacing,shapes.geometric,arrows}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\def\pathlen{5}
\def\pathspacing{2.3}
\pgfmathtruncatemacro{\plenplusone}{\pathlen + 1}\foreach \x in {1,...,\pathlen} {\pgfmathtruncatemacro{\xcoord}{\x * \pathspacing}\node [minimum size= 3mm,fill=lightgray,circle] (v\x) at (\xcoord,0) {$x_{\x}$};
}\pgfmathtruncatemacro{\xcoord}{1 * \pathspacing}\node [fill=yellow,circle] (leaf1) at ( \xcoord - .5, - 1.2) {};
\path [draw=black,ultra thick] (leaf1) [-] edge (v1);
\node [fill=yellow,circle] (leaf2) at ( \xcoord, - 1.2) {};
\path [draw=black,ultra thick] (leaf2) [-] edge (v1);
\node [fill=yellow,circle] (leaf3) at ( \xcoord + .5, - 1.2) {};
\path [draw=black,ultra thick] (leaf3) [-] edge (v1);
\pgfmathtruncatemacro{\xcoord}{2 * \pathspacing}\node [fill=yellow,circle] (leaf1) at ( \xcoord - .5, - 1.2) {};
\path [draw=black,ultra thick] (leaf1) [-] edge (v2);
\node [fill=yellow,circle] (leaf2) at ( \xcoord, - 1.2) {};
\path [draw=black,ultra thick] (leaf2) [-] edge (v2);
\node [fill=yellow,circle] (leaf3) at ( \xcoord + .5, - 1.2) {};
\path [draw=black,ultra thick] (leaf3) [-] edge (v2);
\pgfmathtruncatemacro{\xcoord}{3 * \pathspacing}\node [fill=yellow,circle] (leaf1) at ( \xcoord - .4, - 1.2) {};
\path [draw=black,ultra thick] (leaf1) [-] edge (v3);
\node [fill=yellow,circle] (leaf3) at ( \xcoord + .4, - 1.2) {};
\path [draw=black,ultra thick] (leaf3) [-] edge (v3);
\pgfmathtruncatemacro{\xcoord}{4 * \pathspacing}\node [fill=yellow,circle] (leaf1) at ( \xcoord - .4, - 1.2) {};
\path [draw=black,ultra thick] (leaf1) [-] edge (v4);
\node [fill=yellow,circle] (leaf3) at ( \xcoord + .4, - 1.2) {};
\path [draw=black,ultra thick] (leaf3) [-] edge (v4);
\pgfmathtruncatemacro{\xcoord}{5 * \pathspacing}\node [fill=yellow,circle] (leaf1) at ( \xcoord, - 1.2) {};
\path [draw=black,ultra thick] (leaf1) [-] edge (v5);
\pgfmathtruncatemacro{\plenminusone}{\pathlen - 1}\foreach \x in {1,...,\plenminusone}{\pgfmathtruncatemacro{\xpp}{\x+1}\path [draw=black,ultra thick] (v\x) edge (v\xpp);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[log basis y=2,grid=major,samples at={-4,...,4}]
\addplot {2^x};
\end{semilogyaxis}
\end{tikzpicture}
~
\begin{tikzpicture}
\begin{semilogyaxis}[log basis y=10,samples at={-4,...,4}]
\addplot {2^x};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\ctikzset{logic ports=ieee,logic ports/scale=0.7}
\begin{document}

\begin{circuitikz}

\draw[red](0,2)node[and port](myand1){1}(0,0)node[and port](myand2){2}(2,1)node[xnor port](myxnor){3}(myand1.out)-|(myxnor.in 1)(myand2.out)-|(myxnor.in 2);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{calc,arrows}
\begin{document}
\begin{tikzpicture}[every node/.style={inner sep=1pt}]
\node (1) at (8,6) {A11};
\node (2) [below left of=1] {B22};
\node (3) [below right of=2] {C33};
\node (4) [below right of=1] {D44};
\draw[red, opacity=.3] ($(1)!.5!(3)$) circle (6.5mm);
\path[->,>=stealth]
(1) edge [bend right=20] (2)
(2) edge [bend right=20] (3)
(3) edge [bend right=20] (4)
(4) edge [bend right=20] (1);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usetikzlibrary{chains, scopes, arrows.meta}
\begin{document}
\begin{tikzpicture}[
every on chain/.style=join,
every join/.style=->,
C/.style args = {#1/#2}{top color = #1, bottom color=#2},
C/.default = green!40!white/green!20!white,
mynode/.style={rectangle, draw=blue!75, ultra thick, rounded corners, text width=20mm, minimum height=11mm, align=center, inner sep=2mm},
node distance=10mm and 1cm
]
{[start chain=trunk]
\node [mynode, C=blue!40/blue, on chain] {A};
\node [mynode, C=yellow!40/yellow, on chain] {B};
{[start branch=numbers going below]}
{[start branch=greek going above]}
\node [mynode, C=yellow!40/yellow, on chain] {C};
\node [mynode, C=red!40/red, on chain] {D};
{[continue branch=numbers]
\node [mynode, C, on chain] {1};
\node [mynode, C, on chain] {2};
}
{[continue branch=greek]
\node [mynode, C=gray!40/gray, on chain] {$\alpha$};
\node [mynode, C=gray!40/gray, on chain] {$\beta$};
}
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[-,>=stealth',shorten >=1pt,auto,node distance=2cm,thick,main node/.style={circle,fill=black!20,draw}]
\node[main node](1){$v_2$};
\node[main node](2)[below left of=1]{$v_1$};
\node[main node](3)[below right of=1]{$v_3$};
\node[main node](4)[below of=3]{$v_4$};
\node[main node](5)[below of=2]{$v_5$};
\path[every node/.style={font=\sffamily\small}](2)edge node[left]{}(1)(2)edge node[left]{}(3)(1)edge node[left]{}(5)(1)edge node[left]{}(3)(3)edge node[left]{}(4)(4)edge node[left]{}(5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Default,
tiny,
symbolic x coords={a,T,g},
xticklabel style={name=tick no \ticknum},
xtick=data,
]
\addplot coordinates {(a,0) (T,1) (g,2)};
\end{axis}
\draw [red,opacity=0.5]
(tick no 0.base) -- (tick no 2.base);
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[
title=With strut,
tiny,
symbolic x coords={a,T,g},
xtick=data,
xticklabel style={name=tick no \ticknum},
typeset ticklabels with strut,
]
\addplot coordinates {(a,0) (T,1) (g,2)};
\end{axis}
\draw [red,opacity=0.5]
(tick no 0.base) -- (tick no 2.base);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [color class=red, color class=green,
math nodes, clockwise, n=5] {
[complete bipartite={red}{green}]
{ [red] r_1, r_2 },
{ [green] g_1, g_2, g_3 },
g_2 [not green]
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[
ytickten={-2,-1,0,1,2},
yticklabels={
$\frac{1}{100}$,
$\frac{1}{10}$,
1,10,100
},
]
\addplot {exp(x)};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs,graphs.standard}
\begin{document}
\tikz\graph[clockwise,n=5]{a,b,{[clique]c,d,e}};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,-stealth,name path=A] {x};

\draw [-stealth,name path=B]
(0,-5) -- (0,5);

\addplot [gray!50] fill between [
of=A and B,
reverse=false,
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.2,auto=left]
\tikzstyle{every node}=[inner sep=1.5pt, fill=black,circle,draw]
\def\r{2}
\def\s{1}
\node (c4) at ({\r*cos(90)}, {\r*sin(90)}) {};
\node (c5) at ({\r*cos(162)}, {\r*sin(162)}) {};
\node (c1) at ({\r*cos(234)}, {\r*sin(234)}) {};
\node (c2) at ({\r*cos(306)}, {\r*sin(306)}) {};
\node (c3) at ({\r*cos(18)}, {\r*sin(18)}) {};
\node (a1) at ({\r*cos(90)-.1}, {\r*sin(90)-.5}) {};
\node (a2) at ({\r*cos(90)+.1}, {\r*sin(90)-.5}) {};
\node (b1) at ({\r*cos(234)+.1}, {\r*sin(234)+.5}) {};
\node (b2) at ({\r*cos(306)-.1}, {\r*sin(306)+.5}) {};
\foreach \from/\to in {c1/c2,c2/c3,c3/c4,c4/c5,c5/c1, a1/c4,a2/c4,b1/c1,b2/c2}
\draw [-] (\from) -- (\to);
\tikzstyle{every node}=[]
\draw (c2) node [right] {$c_2$};
\draw (c3) node [right] {$c_3$};
\draw (c4) node [above] {$c_4$};
\draw (c5) node [left] {$c_5$};
\draw (c1) node [left] {$c_1$};
\draw (a1) node [left] {$a_1$};
\draw (a2) node [right] {$a_2$};
\draw (b1) node [right] {$b_1$};
\draw (b2) node [left] {$b_2$};
\draw[thick, dashed] (a1) to [bend right=20] (b1);
\draw[thick, dashed] (a2) to [bend left=20] (b2);
\node at (1.1,.3) {$P_2$};
\node at (-1.1,.3) {$P_1$};
\def\s{.3}
\draw (c3) to ({\r*cos(18)+\s*cos(180)}, {\r*sin(18)+\s*sin(180)});
\draw (c3) to ({\r*cos(18)+\s*cos(220)}, {\r*sin(18)+\s*sin(220)});
\draw (c5) to ({\r*cos(162)+\s*cos(0)}, {\r*sin(162)+\s*sin(0)});
\draw (c5) to ({\r*cos(162)+\s*cos(-40)}, {\r*sin(162)+\s*sin(-40)});
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.4]
\begin{scope}[xshift=10]
\draw (-4.3,0.25)--(-3.19,0.25);
\draw (-2.83,0.25)--(-1.74,0.25);
\draw (-3.2,1.47)--(-4.45,0.46);
\draw (-2.84,-0.95)--(-1.55,0.11);
\draw (-3,0.41)--(-3,1.29);
\draw (-3,0.10)--(-3,-0.78);
\draw (-3,0.25) circle [radius=0.17] node {$\sigma_0$};
\draw (-2.85,1.65) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_2$};
\draw (-1.4,0.45) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_3$};
\draw (-2.85,-0.8) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_4$};
\draw (-4.3,0.45) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_1$};
\end{scope}
\fill[white!] (-2.9,-1) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (-2.9,1.5) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (-4.3,0.25) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (-2.7,0.4) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (-1.4,0.4) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (0,0.25) circle (0.01pt) node[left=0.05pt] {\Large\color{black}$=$};
\begin{scope}[xshift=150]
\draw (-4.3,0.25)--(-3.19,0.25);
\draw (-2.83,0.25)--(-1.74,0.25);
\draw (-2.84,1.47)--(-1.55,0.46);
\draw (-3.2,-0.95)--(-4.5,0.11);
\draw (-3,0.41)--(-3,1.29);
\draw (-3,0.09)--(-3,-0.78);
\draw (-3,0.25) circle [radius=0.17] node {$\sigma_0$};
\draw (-2.85,1.65) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_2$};
\draw (-1.4,0.45) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_3$};
\draw (-2.85,-0.8) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_4$};
\draw (-4.3,0.45) rectangle ++(-0.35, -0.35) node[midway] {$\sigma_1$};
\end{scope}
\fill[white!] (3.3,-1) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (3.3,1.5) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (4.7,0.25) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (3.1,0.4) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\fill[white!] (1.8,0.4) circle (0.01pt) node[left=0.05pt] {\color{black}{\small $SU(2)$}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[dvipsnames,svgnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,patterns}
\usetikzlibrary{arrows,shapes,positioning}
\begin{document}
\begin{tikzpicture}[thick]
\tikzset{MidNode/.style = {draw, circle}
}
\node[MidNode](a) at (-2,0) {$1$};
\node[MidNode](b) at (0,0){$2$};
\node[MidNode](c) at (2,0){$3$};
\draw[-](a)--(b);
\draw[-](b)--(c);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{
patterns,
}
\usepgfplotslibrary{
fillbetween,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0, xmax=5, ymin=0, ymax=5]
\addplot [name path=f, domain=0:5, samples=100]
{(x - 2)^2/(7*x) + 1};
\addplot [name path=border,
color=blue, ultra thick, dashed]
coordinates {(2,0) (2,5) } ;
\fill [
intersection segments={
of=f and border,
sequence={L1 -- R2}},
pattern=north east lines,
]
-- cycle;
\fill [
intersection segments={
of=f and border,
sequence={R2[reverse] -- L2}},
pattern=north west lines,
]
-- (rel axis cs:1,1) -- cycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{amsmath,amssymb}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) to[isource, l=$I_0$] (0,3)
to[short, -*, i=$I_0$] (2,3)
to[R=$R_1$, i>_=$i_1$] (2,0) -- (0,0);
\draw (2,3) -- (4,3)
to[R=$R_2$, i>_=$i_2$]
(4,0) to[short, -*] (2,0);
\end{circuitikz}
\end{document}
\documentclass[11pt, border=5mm]{standalone}
\usepackage{pgfplots, pgfplotstable}
\pgfplotsset{compat=1.18}
\definecolor{ylgnbu1}{RGB}{255, 255, 204}
\definecolor{ylgnbu2}{RGB}{161, 218, 180}
\definecolor{ylgnbu3}{RGB}{65, 182, 196}
\definecolor{ylgnbu4}{RGB}{44, 127, 184}
\definecolor{ylgnbu5}{RGB}{37, 52, 148}
\pgfplotscreateplotcyclelist{colorbrewer-ylgnbu}{
{fill=ylgnbu1, draw=black},
{fill=ylgnbu2, draw=black},
{fill=ylgnbu3, draw=black},
{fill=ylgnbu4, draw=black},
{fill=ylgnbu5, draw=black},
}
\pgfplotstableread{
Sum Participants
4 1
16 2
16 3
33 4
5 5
8 6
20 7
8 8
15 9
5 10
}\datatable
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xbar=0pt,
bar shift=0pt,
cycle list name=colorbrewer-ylgnbu,
width=12cm,
height=8cm,
xmajorgrids=true,
yticklabel={\#\ifnum\ticknum<9 0\fi\pgfmathprintnumber\tick},
ytick={1,2,...,10},
xmin=0,
xmax=36,
xtick={5,10,...,30},
xlabel={Sum},
ylabel={Participants},
ymin=0.25,
ymax=10.75,
legend entries={None, Minimal, Slightly, Medium heavy, Heavy},
legend cell align=left
]
\pgfplotsinvokeforeach{1,...,5}{
\addlegendimage{fill=ylgnbu#1, draw=black, area legend}
}
\pgfplotsinvokeforeach{0:8, 9:13, 14:19, 20:28, 29:63}{
\addplot +[restrict x to domain=#1] table {\datatable};
}
\end{axis}
\end{tikzpicture}
\end{document}