AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{matrix,decorations.markings}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\matrix (m) [matrix of math nodes,row sep=3em,column sep=3em,minimum width=2em] { y & & x \\ & \left[y\right]_{\mathcal G} & \\};
\path[-stealth] (m-1-1) edge [|->,decoration={markings,mark=at position 1 with {\arrow[scale=1.7]{>}}}, postaction={decorate},shorten >=0.4pt] node [above] {} (m-1-3) (m-1-1) edge [|->,decoration={markings,mark=at position 1 with {\arrow[scale=1.7]{>}}}, postaction={decorate},shorten >=0.4pt] node [left] {} (m-2-2) (m-2-2) edge [|->,decoration={markings,mark=at position 1 with {\arrow[scale=1.7]{>}}}, postaction={decorate},shorten >=0.4pt] node [right] {} (m-1-3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=5,line width=2mm]
\draw (0,0,0) -- (1,0,0) -- (1,1,0) -- (0,1,0) -- cycle;
\draw (1,0,0) -- (1,0,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\draw (0,1,0) -- (0,1,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\begin{scope}[yshift=-2cm,line width=4mm]
\begin{scope}
\clip (0,0,0) -- (1,0,0) -- (1,1,0) -- (0,1,0) -- cycle;
\draw (0,0,0) -- (1,0,0) -- (1,1,0) -- (0,1,0) -- cycle;
\end{scope}
\begin{scope}
\clip (1,0,0) -- (1,0,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\draw (1,0,0) -- (1,0,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\end{scope}
\begin{scope}
\clip (0,1,0) -- (0,1,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\draw (0,1,0) -- (0,1,-1) -- (1,1,-1) -- (1,1,0) -- cycle;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph {
a [red, draw] -> b [blue, draw],
c [brown, draw, circle]
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[leftsuperteam/.style={circle, draw=black!100, very thick, minimum size=6mm, inner sep=0pt},normalsuperteam/.style={circle, draw=black!100, very thick, minimum size=6mm, inner sep=0pt},rightsuperteam/.style={draw=black!100, very thick, minimum size=6mm, inner sep=0pt},cyc/.style={circle, draw=black!100, very thick, minimum size=8mm, inner sep=0pt}]
\node[leftsuperteam] (u9) at (-0.5,0) {$6$};
\node[cyc] (u9+) at (-0.5,0) {};
\node[normalsuperteam] (u8) at (1,0) {$5$};
\draw[very thick,<-] (u9+.east) to (u8.west);
\node[normalsuperteam] (up) at (2, 0.75) {$1$};
\node[normalsuperteam] (down) at (2, -0.75) {$4$};
\draw[very thick,<-] (down.north) to (up.south);
\node[normalsuperteam] (up) at (3, 0.75) {$2$};
\node[normalsuperteam] (down) at (3, -0.75) {$3$};
\draw[very thick,<-] (up.south) to (down.north);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[fill=blue!40!white,circle,text width=1cm,align=center] {first text};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{petri}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}
}
\begin{document}
\begin{tikzpicture}
\node[place,label=above:$p_1$] {}
[children are tokens]
child {node [token] {1}}
child {node [token] {2}}
child {node [token] {3}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, tikz}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}[roundnode/.style={circle, draw=black, inner sep=0pt, minimum size=.9cm}]
\draw[line width=0.1mm] (0,0) circle(1.5in);
\node[roundnode, fill=green!20] at (90:1.5in) {$n$};
\node at (90:1.2in) {$n$};
\node[roundnode, fill=white] at (70:1.5in) {$x_0$};
\node at (70:1.2in) {$1$};
\node[roundnode, fill=green!20] at (50:1.5in) {$s_1$};
\node at (50:1.2in) {$2$};
\node[roundnode, fill=white] at (30:1.5in) {$x_1$};
\node at (30:1.2in) {$3$};
\node[roundnode, fill=green!20] at (10:1.5in) {$s_2$};
\node at (10:1.2in) {$4$};
\node[roundnode, fill=white] at (-10:1.5in) {$x_2$};
\node at (-10:1.2in) {$5$};
\node[roundnode, fill=green!20] at (-30:1.5in) {$s_3$};
\node at (-30:1.2in) {$6$};
\node[roundnode, fill=white] at (-50:1.5in) {$x_3$};
\node at (-50:1.2in) {$7$};
\node[roundnode, fill=black, minimum size=1mm] at (-82:1.5in) {};
\node[roundnode, fill=black, minimum size=1mm] at (-90:1.5in) {};
\node[roundnode, fill=black, minimum size=1mm] at (-98:1.5in) {};
\node[roundnode, fill=green!20] at (-140:1.5in) {$s_{k-1}$};
\node at (-140:1.2in) {\phantom{AAA}$2(k-1)$};
\node[roundnode, fill=white] at (-160:1.5in) {$x_{k-1}$};
\node at (-160:1.2in) {\phantom{AAA}$2k-1$};
\node(AS)at(-170:1.65in) {};
\node(AT)at(-260:1.65in) {};
\draw[-latex] (AS) arc[start angle=-170, end angle=-260, x radius=1.65in, y radius=1.65in];
\draw[color=white, rotate=-35, postaction={decorate, decoration={text along path, raise=4pt, text align={align=center}, text={Remaining labels in increasing order}, reverse path}}] (0,0) circle (1.72in);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{mathtools,amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,petri}
\begin{document}
\begin{tikzpicture}[
every place/.style={draw,thick,inner sep=0pt,minimum size=6mm},
every transition/.style={draw,thick,inner sep=0pt,minimum size=4mm},
bend angle=30,
pre/.style={<-,shorten <=1pt,>=stealth,semithick},
post/.style={->,shorten >=1pt,>=stealth,semithick}
]
\node (a) [label=left:$c)$]{};
\node (p1) [place,tokens=0] [right = {1cm} of a, label=above:$s_1$] {};
\node (t1) [transition] [below of = p1,label=left:$u$] {};
\node (p2) [place] [below of = t1,label=left:$s_2$] {}
[children are tokens]
child {node [token] {1}}
child {node [token, fill = blue] {2}}
child {node [token] {3}}
child {node [token, fill = blue] {4}};
\node (t2) [transition] [below of = p2,label=left:$v$] {};
\node (p3) [place, tokens=1] [below of = t2,label=left:$s_3$] {}
[children are tokens]
child {node [token] {1}};
\draw [->] (p1) to (t1);
\draw [->] (t1) to node[auto,swap] {2} (p2);
\draw [->] (p2) to (t2);
\draw [->] (t2) to (p3);
\node (ap) [right={10cm} of p1, label=left:$(C_2$]{};
\node (b1) [place] [left={4cm} of ap, label=above:$b_1$] {};
\node (b2) [place] [right of = b1, label=above:$b_2^1$] {};
\node (b3) [place] [right of = b2, label=above:$b_2^2$] {};
\node (b4) [place] [right of = b3, label=above:$b_2^3$] {};
\node (e1) [transition] [below of = b3, label=right:$v$] {};
\node (b5) [place] [below of = e1, label=below:$b_3$] {};
\node (e2) [transition] [below of = b1, label=right:$u$] {};
\node (b6) [place] [below left of = e2, label=below:$b_2^4$] {};
\node (b7) [place] [below right of = e2, label=below:$b_2^5$] {};
\draw [->] (b3) to (e1);
\draw [->] (e1) to (b5);
\draw [->] (b1) to (e2);
\draw [->] (e2) to (b6);
\draw [->] (e2) to (b7);
\draw [dashed, ->] (b6) to (p2);
\draw [dashed, ->, bend left] (b7) to (p2);
\draw [dashed, ->, bend right] (b2) to (p2);
\draw [dashed, ->, bend left] (b5) to (p3);
\draw [dashed, ->] (b4) to (p2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2.5em,
bond offset=1pt,
compound sep=5em,
arrow offset=6pt,
}
\begin{document}
\schemestart
\chemfig{*6(=-*6(-\chembelow{N}{H}-NH_2)=-=-)}
\+
\chemfig{(=[:-150]O)(-[:-30]R_2)-[2]-[:150]R_1}
\arrow(.mid east--.mid west){->[\chemfig{H^+}]}
\chemfig{*6(-=*5(-\chembelow{N}{H}-(-R_2)=(-R_1)-)-=-=)}
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes, arrows.meta, positioning}
\tikzset{
-Latex, auto, node distance = 1cm and 1cm, semithick,
state/.style = {ellipse, draw, minimum width = 0.7cm},
el/.style = {inner sep=2pt, align=left, sloped}
}
\begin{document}
\begin{tikzpicture}
\node[state] (P1) [tape, align=center]{$P_{P1}$ \\ \scriptsize{[meta]}};
\node[state] (S1) [right =of P1] [tape, align=center]{$P_{S1}$ \\ \scriptsize{[meta]}};
\node[state] (P2) [right =of S1] [tape, align=center]{$P_{P2}$ \\ \scriptsize{[meta]}};
\node[state] (P3) [below =of P2] [tape, align=center]{$P_{P3}$ \\ \scriptsize{[meta]}};
\node[state] (S2) [above =of P2] [tape, align=center]{$P_{S2}$ \\ \scriptsize{[meta]}};
\node[state] (S3) [above =of S1] [tape, align=center]{$P_{S3}$ \\ \scriptsize{[meta]}};
\node[state] (S4) [above right =of S3] [tape, align=center]{$P_{S4}$ \\ \scriptsize{[meta]}};
\node[state] (S5) [right =of S2] [tape, align=center]{$P_{S5}$ \\ \scriptsize{[meta]}};
\node[state] (SC) [above =of S5] [tape, align=center]{$P_{SC}$ \\ \scriptsize{[meta]}};
\node[state] (A1) [below =of P1] [align=center]{$A_1$ \\ \scriptsize{[meta]}};
\node[state] (A2) [below =of S1] [align=center]{$A_2$ \\ \scriptsize{[meta]}};
\node[state] (A3) [left =of S3] [align=center]{$A_3$ \\ \scriptsize{[meta]}};
\node[state] (A4) [above =of A3] [align=center]{$A_4$ \\ \scriptsize{[meta]}};
\path (S3) edge node[el,above] {\scriptsize{cite $.2$}} (S4);
\path (A3) edge node[el,above] {\scriptsize{impl $.4$}} (S3);
\path (A4) edge node[el,above] {\scriptsize{impl $.4$}} (S3);
\path (S5) edge node[el,above] {\scriptsize{realize}} (SC);
\path (S2) edge node[el,above] {\scriptsize{realize}} (SC);
\path (S2) edge node[el,above] {\scriptsize{precede}} (S5);
\path (S1) edge node[el,above] {\scriptsize{cite $.1$}} (S3);
\path (S1) edge node[el,above] {\scriptsize{cite $.05$}} (S2);
\path (S1) edge node[el,above] {\scriptsize{cite $.05$}} (P2);
\path (P1) edge node[el,above] {\scriptsize{cite $.1$}} (S1);
\path (P3) edge node[el,above] {\scriptsize{precede}} (P2);
\path (A1) edge[bend left=10] node[el,above] {\scriptsize{impl $.4$}} (S1);
\path (A1) edge[bend right=30] node[el,above] {\scriptsize{eng $.1$}} (S1);
\path (A2) edge node[el,below] {\scriptsize{test $.3$}} (S1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts,amssymb,color}
\usepackage{amsmath, amsthm}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzpicture}
\node (a) at (5,0) {$p_1$};
\node (b) at (6,0) {$p_4$};
\node (c) at (7,0) {$p_2$};
\node (d) at (8,0) {$p_3$};
\draw[->] (a) to node {} (b);
\draw[->] (b) to node {} (c);
\draw[->] (d) to node {} (c);
\draw[->] (c) to [in=25, out=155, looseness=2] node {} (c);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2]
\draw[line width=1pt](0,1)--(-.78,.62)--(-.97,-.22)--(-.43,-.9)--(.43,-.9)--(.97,-.22)--(.78,.62)--cycle;
\node[above]at(0,1){$0=7$};
\node[left]at(-.78,.62){$1$};
\node[left]at(-.97,-.22){$2$};
\node[below]at(-.43,-.9){$3$};
\node[below]at(.43,-.9){$-3=4$};
\node[right]at(.97,-.22){$-2=5$};
\node[right]at(.78,.62){$-1=6$};
\draw[line width=1pt,red](-.78,.62)--(.78,.62)--(-.97,-.22)--(.97,-.22)(.43,-.9)--(-.97,-.22);
\node[above]at(0,.57){\footnotesize$a_{12}$};
\node[left]at(-.05,.25){\footnotesize$a_{22}$};
\node[above]at(0,-.27){\footnotesize$a_{23}$};
\node[right]at(-.27,-.56){\footnotesize$a_{24}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) to[C] (1,0) to[toggle switch , n=Sw] (2.5,0)
-- (2.5,-1) to[battery1] (1.5,-1) to[R] (0,-1) -| (0,0)
(Sw.out 2) -| (2.5, 1) to[R] (0,1) -- (0,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph { subgraph C_n [n=5, clockwise] -> mid };
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\draw (0,0) node[dipchip](C){IC} (C.pin 8)
node[or port, anchor=in 1,
number inputs=5,
inner inputs=3,
circuitikz/ieeestd ports/height=3,
color=red](A){IC2A};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{petri}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}
}
\begin{document}
\begin{tikzpicture}[every place/.style={minimum size=9mm}]
\foreach \x/\y/\tokennumber in {0/2/1,1/2/2,2/2/3,
0/1/4,1/1/5,2/1/6,
0/0/7,1/0/8,2/0/9}
\node [place,tokens=\tokennumber] at (\x,\y) {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A-B([1]-X([2]-Z)-Y)(-[7]D)-C}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)to[isource](0,3)--(2,3)to[R](2,0)--(0,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\begin{tikzpicture}[baseline]
\datavisualization [ scientific axes=clean,
y axis=grid,
visualize as smooth line/.list={sin,cos,tan},
style sheet=strong colors,
style sheet=vary dashing,
sin={label in legend={text=$\sin x$}},
cos={label in legend={text=$\cos x$}},
tan={label in legend={text=$\tan x$}},
data/format=function ]
data [set=sin] {
var x : interval [-0.5*pi:4];
func y = sin(\value x r);
}
data [set=cos] {
var x : interval [-0.5*pi:4];
func y = cos(\value x r);
}
data [set=tan] {
var x : interval [-0.3*pi:.3*pi];
func y = tan(\value x r);
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pgf,tikz,pgfplots}
\usepackage{xcolor}
\pgfplotsset{compat=1.15}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\tikzset{baseline={($ (current bounding box.west) - (0,1ex) $)}
, auto}\tikzset{vertex/.style={circle, inner sep=1.5pt, fill}
, edge/.style={thick, line join=bevel}}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.6cm,y=0.6cm]
\draw [line width=1pt] (-2,0)-- (0,0);
\draw [line width=1pt] (0,0)-- (0.74,1.5);
\draw [line width=1pt] (0.74,1.5)-- (2.58,1.3);
\draw [line width=1pt] (2.58,1.3)-- (3.14,2.84);
\draw [line width=1pt] (2.58,1.3)-- (1.82,2.56);
\begin{scriptsize}\draw [fill=blue] (-2,0) circle (1.8pt);
\draw[color=blue] (-2.4,0.29) node {A};
\draw [fill=black] (0,0) circle (1.8pt);
\draw [fill=black] (0.74,1.5) circle (1.8pt);
\draw [fill=black] (2.58,1.3) circle (1.8pt);
\draw [fill=red] (3.14,2.84) circle (1.8pt);
\draw[color=red] (3.3,3.27) node {B};
\draw [fill=black] (1.82,2.56) circle (1.8pt);
\end{scriptsize}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath,amsthm}
\usetikzlibrary{positioning,automata,fit,shapes,calc}
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.9}
\usepackage{amssymb}
\newcommand{\init}{{\mathit{\scriptscriptstyle init}
}}\newcommand{\goal}{\mathit{goal}
}\newcommand{\fail}{\mathit{fail}
}
\begin{document}
\begin{tikzpicture}[scale=1,auto,node distance=8mm,>=latex]
\tikzstyle{round}=[thick,draw=black,circle]
\node[round,minimum size=30pt] (init) {$q_{\init}$};
\node[color=white, left=10mm of init] (start) {};
\node[round,right=30mm of init, yshift=25mm, minimum size=30pt] (a) {$q_1$};
\node[round,right=30mm of init, yshift=-25mm,minimum size=30pt] (b) {$q_2$};
\node[round, right=65mm of init, double,minimum size=30pt] (acc) {};
\draw[color=black , very thick,->] (start) edge (init) ;
\draw[color=black , very thick,->] (init) edge [bend left] node [pos=0.4, left=10pt] {$a\land b\land \neg c$} (a) ;
\draw[color=black , very thick,->] (a) edge [bend left] node [pos=0.6, right=10pt] {$\goal \land \neg a$} (acc) ;
\draw[color=black , very thick,->] (init) edge [bend right] node [pos=0.4, left=10pt] {$a\land c\land \neg b$} (b) ;
\draw[color=black , very thick,->] (b) edge [bend right] node [pos=0.6, right=10pt] {$\fail\land \neg a$} (acc) ;
\draw[color=black , very thick,->] (a) edge [loop above] node [pos=0.5, above=0mm] {$ a\land \neg \goal$} (a) ;
\draw[color=black , very thick,->] (b) edge [loop below] node [pos=0.5, below=0mm] {$a \land \neg \fail$} (b) ;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{patterns}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}[scale=1]
\foreach \x/\y in {0/0, 0/1, 0/2, 0/3, 1/0, 1/1, 1/2, 1/3, 2/0, 2/1, 2/2, 2/3, 3/0, 3/1, 3/2, 3/3}{\fill[opacity=0.4] (\x,\y) circle (2pt);
}\foreach \x/\y in {1/0, 2/0, 2/1, 3/1, 3/2}{\fill[opacity=1] (\x,\y) circle (2pt);
}\node (a) at (1.5,1.5) {};
\node (b) at (3,2.5) {};
\node (c) at (3,1) {};
\node (d) at (2.5,0) {};
\node (e) at (0.5,0) {};
\draw[thick] (a.center) -- (b.center) -- (c.center) -- (d.center) -- (e.center) -- cycle;
\draw[thick,fill=blue!60, fill opacity=0.4] (2.25, 2) -- (b.center) -- (c.center) -- (d.center) -- (e.center) -- (1, 0.75) -- cycle;
\fill[draw=black,fill=red] (a.center) circle (2pt);
\draw[ultra thick, red] (-0.25, -0.5) -- (3.5, 3.25);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xlabel={Zeit},ylabel={Produktivit\"at},xmin=0,ytick=\empty,xtick=\empty,no markers,smooth,axis lines=left]\addplot{(-x^2+x*4)};
\addplot{0};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,latexsym,enumitem,amsthm,amsbsy}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{fit,shapes, arrows.meta,bending}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[scale=0.7, transform shape]
\draw (0,0) -- (15,0);
\foreach \x/\text in {0/0, 2/$0 + \frac{t}{n}$, 7.5/$\frac{1}{2}$, 9.5/$\frac{1}{2} + \frac{t}{n}$, 13/$1 - \frac{t}{n}$, 15/$1$}
\draw[-](\x, -2pt)--(\x, 2pt);
\foreach \x/\text in {0/0, 2/$0 + \frac{3}{30}$, 7.5/$\frac{1}{2}$, 9.5/$\frac{1}{2} + \frac{3}{30}$, 13/$1 - \frac{3}{30}$, 15/$1$}
\fill (\x,0) circle (0pt) node[below, yshift=-5pt] {\text};
\draw[decorate,decoration=brace](0 cm + 7pt, 15pt) -- node[above,font=\small]{$b = 0$} (7.5 cm - 7pt, 15pt);
\draw[decorate,decoration=brace](7.5 cm + 7pt, 25pt) -- node[above,font=\small]{$b ~\sim \mathcal{B}\left(1, \frac{1}{2}\right)$} (9.5 cm - 7pt, 25pt);
\draw[decorate,decoration=brace](9.5cm + 7pt, 15pt) -- node[above,font=\small]{$b = 1$} (15cm - 7pt, 15pt);
\draw[blue, fill=blue] (8.75,5pt) circle (2pt);
\draw[blue, fill=blue] (9,5pt) circle (2pt);
\draw[blue, fill=blue] (10,5pt) circle (2pt);
\draw[blue, fill=blue] (11,5pt) circle (2pt);
\draw[green, fill=green] (1.75, 5pt) circle (2pt);
\draw[green, fill=green] (2.5, 5pt) circle (2pt);
\draw[green, fill=green] (3, 5pt) circle (2pt);
\draw[green, fill=green] (3.23, 5pt) circle (2pt);
\draw[gray, fill=gray] (1.35, 5pt) circle (2pt);
\draw[gray, fill=gray] (13.65, 5pt) circle (2pt);
\draw[gray, fill=gray] (13.25, 5pt) circle (2pt);
\node[below, align=center] at (7.5, -1.0) {
$\{$ \tikz{\draw[green, fill=green] circle (2pt);} , \tikz{\draw[blue, fill=blue] circle (2pt);} $\}$ - valid distributions of candidate values $b$ across different processes \\
$\{$ \tikz{\draw[gray, fill=gray] circle (2pt);} $\}$ - invalid distribution of the same values; ratios at different processes differ by more than $\frac{3t}{n}$
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb,amssymb,tikz,color}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[scale=1.0,style=thick]
\def\vr{3pt}
\draw (-2,1) -- (-1,1) -- (0,1) -- (1,1) -- (2,1);
\draw (-2,2) -- (-1,2) -- (0,2) -- (0,1);
\draw (0,2) -- (0,3) -- (-1,3) -- (-2,3);
\draw (1,1) [fill=white] circle (\vr);
\draw (0,1) [fill=white] circle (\vr);
\draw (2,1) [fill=white] circle (\vr);
\draw (-2,2) [fill=white] circle (\vr);
\draw (0,2) [fill=white] circle (\vr);
\draw (-1,1) [fill=white] circle (\vr);
\draw (-1,2) [fill=white] circle (\vr);
\draw (-0,3) [fill=white] circle (\vr);
\draw (-1,3) [fill=white] circle (\vr);
\draw (-2,3) [fill=white] circle (\vr);
\draw (-2,1) [fill=white] circle (\vr);
\draw (-2.2,0) rectangle (0.3,3.3);
\draw (1.5,0.3) node {$T_0$};
\draw (0,0.5) node {$v$};
\draw (-0.9,0.3) node {$T_0^*$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[D*, v=$v_D$, i=1<\milli\ampere>, o-*] (3,0);
\end{circuitikz}
\end{document}
\documentclass{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\tikzset{labelsize/.style={font=\scriptsize}}
\newcommand{\cat}[1]{\mathbb{#1}}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {$\cat{C}$};
\node (C) at (0,2) {$\cat{A}$};
\draw [->] (A) to [bend left=50] node (dom) [auto, labelsize] {$l$} (C);
\draw [->] (C) to [bend left=50] node (cod) [auto, labelsize] {$r$} (A);
\node at (0,1) [rotate=180, font=\large] {$\vdash$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\node[draw,circle] (A) at (90:3) {Black Hole};
\node[draw,circle] (B) at (210:3) {Mirror\;
};
\node[draw,circle] (C) at (330:3) {Electron};
\draw[latex'-latex',double] (A) -- node[label=150:Analog,label=330:] {} (B);
\draw[latex'-latex'] (A) -- node[label=30:?,label=210:] {} (C);
\draw[latex'-latex',double] (B) -- node[label=90:,label=270:Map] {} (C);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}
\addplot+ [only marks] {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}