AIGrounding/Diagram-MMU huggingface dataset:
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usetikzlibrary{arrows.meta,calc}
\pgfplotsset{
xtick placement tolerance=-2mm, ytick placement tolerance=-2mm,
no marks, minor x tick num=1, enlarge x limits=false,
every x tick/.style={thick}, every y tick/.style={thick},
tick align=outside, axis lines=middle, inner axis line style={-},
clip mode=individual,
execute at end axis={
\path[tips=proper] let \p1=($(rel axis cs:1,1)-(axis cs:0,0)$),
\p2=($(axis cs:0,0)-(rel axis cs:0,0)$) in
\ifdim\x1>0pt (axis cs:0,0) edge[-{Latex[length=1.5mm]}] ({rel axis cs:1,0} |- {axis cs:0,0}) \fi
\ifdim\x2>0pt (axis cs:0,0) edge[-{Latex[length=1.5mm]}] ({rel axis cs:0,0} |- {axis cs:0,0}) \fi
\ifdim\y1>0pt (axis cs:0,0) edge[-{Latex[length=1.5mm]}] ({rel axis cs:0,1} -| {axis cs:0,0}) \fi
\ifdim\y2>0pt (axis cs:0,0) edge[-{Latex[length=1.5mm]}] ({rel axis cs:0,0} -| {axis cs:0,0}) \fi;
}
}
\begin{document}
\begin{tabular}{cc}
\begin{tikzpicture}\begin{axis}[domain=0:1]\addplot+{x};\end{axis}\end{tikzpicture} &
\begin{tikzpicture}\begin{axis}[domain=0:1]\addplot+{-x};\end{axis}\end{tikzpicture} \\
\begin{tikzpicture}\begin{axis}[domain=-1:0]\addplot+{x};\end{axis}\end{tikzpicture} &
\begin{tikzpicture}\begin{axis}[domain=-1:0]\addplot+{-x};\end{axis}\end{tikzpicture} \\
\begin{tikzpicture}\begin{axis}[domain=-1:1]\addplot+{-x};\end{axis}\end{tikzpicture}
\end{tabular}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{automata, positioning, arrows}
\begin{document}
\begin{tikzpicture}
\node[draw,circle] (a) at (0,0) {$1$};
\node[draw,circle] (b) at (4,0) {$2$} ;
\draw (a) edge (b) ;
\node (t) at (2,.3) {$\alpha_{1,2} = \frac{1}4$} ;
\node (f1) at (0,-.6) {$f_{1}(x_1) = 1$} ;
\node (f2) at (4,-.6) {$f_2(x_2) = x_2 + b_2$} ;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}[
every node/.style={draw=black,thick,anchor=west},
selected/.style={draw=red,fill=red!30},
optional/.style={dashed,fill=gray!50},
grow via three points={one child at (0.5,-0.5) and two children at (0.5,-0.5) and (0.5,-1.3)},
edge from parent path={([xshift=2mm] \tikzparentnode.south west) |- (\tikzchildnode.west)},
growth parent anchor=south west
]
\node {texmf}
child { node {doc}}
child { node {fonts}}
child { node {I'm a very very very long text}
child { node {I want to have the same indent like generic}}
child { node [optional] {I want to have the same indent like latex}}
child { node {I want to have the same indent like plain}}
}
child [missing] {}
child [missing] {}
child [missing] {}
child { node [selected] {tex}
child { node {generic}}
child { node [optional] {latex}}
child { node {plain}}
};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[->]
\draw(0,0)--(1,0);
\draw(0,0)--(0,1,0);
\draw(0,0)--(0,0,1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\ctikzset{logic ports=ieee,logic ports/scale=0.7}
\begin{document}
\begin{circuitikz}[american]
\def\coorda(#1)<#2>{node[circle,red,draw,inner sep=1pt,pin={[red,overlay,inner sep=0.5pt,font=\small,pin distance=0.1cm,pin edge={red,overlay,}]#2:#1}](#1){}}\path(-2,1)--(11,-1);
\draw(0,0)node[and port,number inputs=3](A){IC1};
\foreach \a/\d in {left/45,right/45,out/-45,in 1/135,in 2/135,in 3/135}\path(A.\a)\coorda(\a)<\d>;
\draw(4.5,0)node[and port,number inputs=3](A){IC1};
\foreach \a/\d in {north/90,north west/135,west/180,south west/-135,south/-90,south east/45,east/45,north east/45}\path(A.\a)\coorda(\a)<\d>;
\draw(9,0)node[nand port](A){};
\foreach \a/\d in {left/45,right/45,center/-90}\path(A.\a)\coorda(\a)<\d>;
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\newcommand{\wt}[1]{{\widetilde{#1}
}}
\begin{document}
\begin{tikzpicture}[radius=30mm,line width=0.7pt]
\draw (0,0) -- (29.961mm,0);
\draw[densely dotted] (29.961mm,0) -- (40mm,0);
\draw[densely dotted] (40mm,0) -- (48.017mm,6.041mm);
\draw (48.017mm,6.041mm) -- (71.945mm,24.073mm);
\draw (29.961mm,0) arc[start angle=270, end angle=307];
\fill (29.961mm,0) circle (0.45mm);
\fill (48.017mm,6.041mm) circle (0.45mm);
\draw (15mm,4mm) node {$\wt T_i$};
\draw (55mm,17mm) node {$\wt T_{i+1}$};
\draw (38mm,5mm) node {$C_i$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\tikz \draw (0,0) to[R=$R_1$] (2,0);
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (-1,1) to[R, v=$v$, i=$i$, f>^=$f$] (1,1);
\draw (-2,0) to[R, v=$v$, i=$i$, f>^=$f$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw [thick] (-0.1,0.1) to (1.6,1.8);
\draw [thick] (0.1,-0.1) to (1.8,1.6);
\draw [thick] (0.1,1.8) to (1.8,0.1);
\draw [thick] (-0.1,1.6) to (0.65,0.85);
\draw [thick] (0.85,0.65) to (1.6,-0.1);
\draw [thick] (0,0) circle[radius=0.3];
\draw [fill] (-0.1,0.1) circle[radius=0.06];
\draw [fill] (0.1,-0.1) circle[radius=0.06];
\draw [thick] (0,1.7) circle[radius=0.3];
\draw [fill] (-0.1,1.6) circle[radius=0.06];
\draw [fill] (0.1,1.8) circle[radius=0.06];
\draw [thick] (1.7,1.7) circle[radius=0.3];
\draw [fill] (1.6,1.8) circle[radius=0.06];
\draw [fill] (1.8,1.6) circle[radius=0.06];
\draw [thick] (1.7,0) circle[radius=0.3];
\draw [fill] (1.6,-0.1) circle[radius=0.06];
\draw [fill] (1.8,0.1) circle[radius=0.06];
\draw [fill] (0.58,0.78)--(0.72,0.92)--(0.56,0.94)--(0.58,0.78);
\draw [fill] (0.78,0.58)--(0.92,0.72)--(0.96,0.54)--(0.78,0.58);
\node [below, left] at (-0.2,-0.3) {$A_1$};
\node [above,left] at (-0.2,2.0) {$A_4$};
\node [below, right] at (1.9,2.0) {$A_3$};
\node [below, right] at (1.9,-0.3) {$A_2$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{amsmath}
\usetikzlibrary{calc}
\usetikzlibrary{positioning, shapes}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title={Price over Time},xlabel={Time},ylabel={Price},grid=major,legend entries={Actual Price,T5+TimeS,D-Linear+W},legend pos=outer north east]\addplot[color=blue,mark=square] coordinates {(1,9.7900) (2, 9.9000) (3,11.1900) (4, 13.1700) (5, 11.5400) (6,12.2000) (7, 12.0000) (8, 12.0500) (9, 11.7000)};
\addplot[color=red,mark=square] coordinates {(1,9.79) (2, 9.91) (3,9.90) (4, 9.87) (5, 9.93) (6,9.90) (7, 9.97) (8, 9.93) (9, 9.80)};
\addplot[color=brown,mark=square] coordinates {(1,9.79) (2, 9.77) (3,9.73) (4, 9.83) (5, 9.87) (6,9.83) (7, 9.81) (8, 9.73) (9, 9.70)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\newcommand{\st}{\scriptscriptstyle}
\begin{document}
\begin{tikzpicture}[scale=.62]
\begin{loglogaxis}[xlabel={Degree of a polynomial.},ylabel={Polynomial factorization running time in ms.}]\addplot[purple, ultra thick] coordinates{ (2, 0.397) (4, 0.58917) (6, 0.870342) (8, 1.22411) (10, 1.46821) };
\addplot[blue, ultra thick] coordinates{ (2, 0.60388) (4, 1.05041) (6, 1.76213) (8, 2.18177) (10, 2.24291) };
\legend{ $\log_{\st 2}(p)=128$-bit, $\log_{\st 2}(p)=256$-bit}
\end{loglogaxis}
\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[R=2<\ohm>, i=?, v=84<\volt>] (2,0) --
(2,2) to[V<=84<\volt>] (0,2)
-- (0,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1.2, transform shape]
\draw (60,1) to [battery2, v_=$V_{cc}$, name=B] ++(0,2);
\node[draw,red,circle,inner sep=4pt] at(B.left) {};
\node[draw,red,circle,inner sep=4pt] at(B.right) {};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[tiny,
title=A ``tiny'' figure,
xlabel=The $x$-axis,
ylabel=The $y$-axis,
minor tick num=1,
legend entries={Leg},
]
\addplot+ [const plot] coordinates {
(0,0) (1,1) (3,3) (5,10)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
\foreach \x in {0,1,...,11}{
\foreach \y in {0,1,...,6}{
\node[draw,circle,inner sep=1pt,fill] at (\x,\y) {};}}
\draw [ultra thick,-latex,black] (0,0) -- (0,6) node[midway,above,sloped] {$\mu_2$};
\draw [ultra thick,-latex,black] (0,0) -- (13,0) node [above left] {$\mu_1$};
\draw [ultra thick,-latex,cyan] (0,6) -- (13,6) node [above left,black] {$\widehat{\mu}_1$};
\draw [ultra thick,cyan] (1,0) -- (0,1);
\draw [ultra thick,cyan] (2,0) -- (0,2);
\draw [ultra thick,cyan] (3,0) -- (0,3);
\draw [ultra thick,cyan] (4,0) -- (0,4);
\draw [ultra thick,cyan] (5,0) -- (0,5);
\draw [ultra thick,-latex,cyan] (0,0) -- (0.5,0.5) node{} [above left];
\draw [ultra thick,-latex,cyan] (0.5,0.5) -- (1,1) node{} [above left];
\draw [ultra thick,-latex,cyan] (1,1) -- (1.5,1.5) node{} [above left];
\draw [ultra thick,-latex,cyan] (1.5,1.5) -- (2,2) node{} [above left];
\draw [ultra thick,-latex,cyan] (2,2) -- (2.5,2.5) node{} [above left];
\draw [ultra thick,-latex,cyan] (2.5,2.5) -- (3,3) node{} [above left];
\node[scale=2] at (12,0) {$\ldots$};
\node[scale=2] at (12,1) {$\ldots$};
\node[scale=2] at (12,2) {$\ldots$};
\node[scale=2] at (12,3) {$\ldots$};
\node[scale=2] at (12,4) {$\ldots$};
\node[scale=2] at (12,5) {$\ldots$};
\node[scale=2] at (12,6) {$\ldots$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title=Two Bicubic Patches]
\addplot3 [
patch,
patch type=bicubic,
shader=interp,
point meta=explicit,
] coordinates {
(0,0,1)[1] (1,0,0)[0] (2,0,0)[0] (3,0,0)[0]
(0,1,0)[0] (1,1,0)[0] (2,1,0)[0] (3,1,0)[0]
(0,2,0)[0] (1,2,0)[0] (2,2,0)[0] (3,2,0)[0]
(0,3,0)[0] (1,3,0)[0] (2,3,0)[0] (3,3,0)[0]
(3,0,0)[0] (4,0,0)[0] (5,0,0)[0] (6,0,0)[0.7]
(3,1,0)[0] (4,1,.5)[1](5,1,0)[0] (6,1,0)[0]
(3,2,0)[0] (4,2,0)[0] (5,2,0)[0] (6,2,0)[0]
(3,3,0)[0] (4,3,0)[0] (5,3,0)[0] (6,3,0)[0.1]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{smithchart}
\begin{document}
\begin{tikzpicture}
\begin{smithchart}[
yticklabel around circle*,
]
\end{smithchart}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{document}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{tikzpicture}
\begin{axis}[
clip=false,
ticklabel style={draw=red},
title=Starred variant \texttt{xticklabel* cs},
]
\addplot {x};
\node [small dot,pin=-90:{\texttt{xticklabel* cs:0}}] at (xticklabel* cs:0) {};
\node [small dot,pin=-90:{\texttt{xticklabel* cs:0.5}}] at (xticklabel* cs:0.5) {};
\node [small dot,pin=-90:{\texttt{xticklabel* cs:1}}] at (xticklabel* cs:1) {};
\node [small dot,pin=180:{\texttt{yticklabel* cs:0}}] at (yticklabel* cs:0) {};
\node [small dot,pin=180:{\texttt{yticklabel* cs:0.5}}] at (yticklabel* cs:0.5) {};
\node [small dot,pin=180:{\texttt{yticklabel* cs:1}}] at (yticklabel* cs:1) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\tikzset{
every pin/.style={fill=yellow!50!white, rectangle, rounded corners=3pt, font=\tiny},
small dot/.style={fill=black, circle, scale=0.3},
}
\begin{document}
\tikzset{
every pin/.style={fill=yellow!50!white, rectangle, rounded corners=3pt, font=\tiny},
small dot/.style={fill=black, circle, scale=0.3},
}
\begin{tikzpicture}
\begin{axis}[
clip=false,
ticklabel style={draw=red},
title=Positioning with \texttt{xticklabel cs},
]
\addplot {x};
\node [small dot, pin=-90:{\texttt{xticklabel cs:0}}] at (xticklabel cs:0) {};
\node [small dot, pin=-90:{\texttt{xticklabel cs:0.5}}] at (xticklabel cs:0.5) {};
\node [small dot, pin=-90:{\texttt{xticklabel cs:1}}] at (xticklabel cs:1) {};
\node [small dot, pin=180:{\texttt{yticklabel cs:0}}] at (yticklabel cs:0) {};
\node [small dot, pin=180:{\texttt{yticklabel cs:0.5}}] at (yticklabel cs:0.5) {};
\node [small dot, pin=180:{\texttt{yticklabel cs:1}}] at (yticklabel cs:1) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
small,
minor x tick num=1,
enlarge x limits={rel=0.5,upper},
]
\addplot {5 * x^3 - x^2 + 4*x -2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[european, voltage shift=0.5]
\draw (0,0)
to[isourceC, l=$I_0$, v=$V_0$] (0,3)
to[short, -*, f=$I_0$] (2,3)
to[R=$R_1$, f>_=$i_1$] (2,0) -- (0,0);
\draw (2,3) -- (4,3)
to[R=$R_2$, f>_=$i_2$]
(4,0) to[short, -*] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar,xlabel = X,xmin = -0.3,xmax = 4.3,ymin = 0, ymax = 10,axis x line* = bottom,axis y line* = left,ylabel= Y,width= 0.9\textwidth,height = 0.6\textwidth,ymajorgrids = true,bar width = 0.5mm,xticklabels = \empty,extra x ticks = {0,1,2,3,4},extra x tick labels = {0,1,2,3,4},legend pos=north east]\addplot coordinates {(0,2)(1,6)(2,6)(3,6)(4,6)};
\addplot coordinates {(0,5)(1,5)(2,5)(3,5)(4,5)};
\addlegendimage{empty legend}\addlegendentry{$A$}\addlegendentry{$B$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\usetikzlibrary{matrix, fit}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=1 by 1, vertical sep=0.5cm}, width=\linewidth, height=5.8cm]\nextgroupplot[xmode=log, ymode=log, xlabel={\footnotesize Time (batches)}, ylabel={\footnotesize $\mathbb{E} [\text{Num. Corrupted Weights}]$}, ytick={1e-4, 1e-2, 1e0, 1e2, 1e4, 1e6, 1e8}, every axis plot/.append style={ultra thick}, every tick label/.append style={font=\footnotesize}, legend pos=south east, legend entries={$p_{input}=10^{-7}$, $p_{input}=10^{-8}$, $p_{input}=10^{-9}$}]\addlegendimage{dotted, black, ultra thick}\addlegendimage{dashed, black, ultra thick}\addlegendimage{black, ultra thick}\addplot[color=blue] coordinates {(10^3, 2.00E+03)(10^4, 2.00E+04)(10^5, 1.99E+05)(10^6, 1.96E+06)(10^7, 1.71E+07)(10^8, 5.98E+07)(10^9, 6.24E+07)};
\label{plot:ECCBaseline}\addplot[color=blue, dashed] coordinates {(10^3, 2.00E+04)(10^4, 1.99E+05)(10^5, 1.96E+06)(10^6, 1.71E+07)(10^7, 5.98E+07)(10^8, 6.24E+07)(10^9, 6.24E+07)};
\addplot[color=blue, dotted] coordinates {(10^3, 1.99E+05)(10^4, 1.96E+06)(10^5, 1.71E+07)(10^6, 5.98E+07)(10^7, 6.24E+07)(10^8, 6.24E+07)(10^9, 6.24E+07)};
\addplot[color=brown] coordinates {(10^3, 5.06E-04)(10^4, 5.06E-03)(10^5, 5.06E-02)(10^6, 5.06E-01)(10^7, 5.06E+00)(10^8, 5.06E+01)(10^9, 5.06E+02)};
\label{plot:ECC}\addplot[color=brown, dashed] coordinates {(10^3, 5.09E-02)(10^4, 5.09E-01)(10^5, 5.09E+00)(10^6, 5.09E+01)(10^7, 5.09E+02)(10^8, 5.09E+03)(10^9, 5.09E+04)};
\addplot[color=brown, dotted] coordinates {(10^3, 5.09E+00)(10^4, 5.09E+01)(10^5, 5.09E+02)(10^6, 5.09E+03)(10^7, 5.09E+04)(10^8, 5.07E+05)(10^9, 4.89E+06)};
\coordinate (top) at (rel axis cs:0,1);
\coordinate (bot) at (rel axis cs:1,0);
\end{groupplot}\path (top|-current bounding box.north)-- coordinate(legendpos) (bot|-current bounding box.north);
\matrix[matrix of nodes, anchor=south, draw, inner sep=0.2em] at([yshift=1ex]legendpos) {\ref{plot:ECCBaseline}& Baseline&[5pt] \ref{plot:ECC}& mMPU ECC&[5pt]\\};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\begin{tikzpicture}[new set=red, new set=green, shorten >=2pt]
\foreach \i in {1,2,3} {
\node [draw, red!80, set=red] (r\i) at (\i,1) {$r_\i$};
\node [draw, green!50!black, set=green] (g\i) at (\i,2) {$g_\i$};
}
\graph {
root [xshift=2cm] ->
(red) -> [complete bipartite, right anchor=south]
(green)
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,xcolor,tikz}
\usetikzlibrary{cd,knots,calc}
\usepackage[T1]{fontenc}
\tikzset{string/.style={ultra thick}
,smallstring/.style={thick,scale=0.75,every node/.style={transform shape}},triple/.style args={[#1] in [#2] in [#3]}{#1,preaction={preaction={draw,#3},draw,#2}},quadruple/.style args={[#1] in [#2] in [#3] in [#4]}{#1,preaction={preaction={preaction={draw,#4},draw,#3},draw,#2}},super thick/.style={line width=3pt},more thick/.style={line width=1pt},knot gap=10}\newcommand{\E}{\left(}
\newcommand{\R}{\right)}
\newcommand{\blank}{{-}
}
\begin{document}
\begin{tikzpicture}[baseline=50, smallstring]
\node (bot) at (0,0) {$v$};
\node (top) at (2,5) {$\mathcal B \E R \E a \R \to R \E \mathcal F_A \E v \R a \R \R$};
\node[draw, rectangle] (eta) at (0,1) {$\eta_v^B$};
\node[draw, rectangle] (r) at (1,1) {$r_v$};
\node[draw, rectangle] (j) at (2,2) {$j_{R \E a \R}^B$};
\node[draw, rectangle] (circ1) at (0.5,2) {$\blank \circ \blank$};
\node[draw, rectangle] (tens) at (1,3) {$\blank \otimes \blank$};
\node[draw, rectangle] (rho) at (3,3) {$\rho_{\mathcal F_A \E v \R , a}^R$};
\node[draw, rectangle] (circ2) at (2,4) {$\blank \circ \blank$};
\draw (bot) to (eta);
\draw (eta) to[in=-90,out=90] (circ1.225);
\draw (r) to[in=-90,out=90] (circ1.-45);
\draw (j) to[in=-90,out=90] (tens.-45);
\draw (tens) to[in=-90,out=90] (circ2.225);
\draw (circ1) to[in=-90,out=90] (tens.225);
\draw (rho) to[in=-90,out=90] (circ2.-45);
\draw (circ2) to (top);
\end{tikzpicture}
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.25,inner sep=2pt,B/.style={draw=black,line width=.5pt,fill=red!50,circle,above=1.5pt}]
\draw[line width=3pt,gray](0,0)--(0,6)--(19,6)--(19,0)--++(5,0)node[near start,B]{};
\draw[line width=3pt,gray](2,6)--(2,10)--(16,6)node[pos=.05,B]{};
\draw[|<->|](-.75,0)--(-.75,6)node[midway,left]{$h$};
\draw[|<->|](-.75,6)--(-.75,10)node[midway,left]{$H$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing, decorations.markings, snakes}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[scale=1.4, every node/.style={scale=1.4}]
\fill[color=red!50!white, fill opacity=.5] (-1.5,.7) to[out=-30, in=180] (1,.4) -- (1.5,.9) to[out=180, in=-30] (-1,1.2) -- (-1.5,.7);
\draw (-1.5,-1.5)--(1.5,1.5);
\draw (-2,0)--(2,0);
\draw (0,-2)--(0,2);
\draw[dashed] (.5,-1.3)--(.5,.7);
\draw[dashed] (-1.5,-1.3)--(.5,-1.3);
\draw[dashed] (-1.5,-1.3)--(-1.5,.7);
\draw[dashed] (-1.5,.7)--(.5,.7);
\draw[dashed] (.5,-1.3)--(1,-.8);
\draw[dashed] (-1.5,-1.3)--(-1,-.8);
\draw[dashed] (.5,.7)--(1,1.2);
\draw[red,very thick] (-1.5,.7)--(-1,1.2);
\draw[dashed] (-1,-.8)--(1,-.8);
\draw[dashed] (-1,1.2)--(1,1.2);
\draw[dashed] (-1,-.8)--(-1,1.2);
\draw[dashed] (1,-.8)--(1,1.2);
\fill[color=black] (0,0) circle (.1);
\fill[color=black] (-1.5,-1.3) circle (.1);
\fill[color=red] (0,.7) circle (.07);
\draw (.3,-.3) node {$\sigma^{(1)}_i$};
\draw (-1.8,-1.3) node {$j$};
\draw (-1,-1.7) node {$k^{(1)}_{i-\hat{2},2}$};
\draw (1.8,1.6) node {$k^{(1)}_{i,2}$};
\draw (1.5,-.3) node {$k^{(1)}_{i,1}$};
\draw (-2,-.3) node {$k^{(1)}_{i-\hat{1},1}$};
\draw (.5,-1.7) node {$k^{(1)}_{i-\hat{0},0}$};
\draw (-.4,.25) node {$k^{(1)}_{i,0}$};
\draw (-.4,1.6) node {$k^{(n)}_{i,0}$};
\draw[->] (-2.2-.4,-1.5)--(-1.7-.4,-1.5);
\draw[->] (-2.2-.4,-1.5)--(-1.95-.4,-1.25);
\draw[->] (-2.2-.4,-1.5)--(-2.2-.4,-1);
\draw (-2.4-.4,-1.2) node[scale = .8] {$\hat{0}$};
\draw (-1.8-.4,-1.2) node[scale = .8] {$\hat{2}$};
\draw (-1.75-.4,-1.7) node[scale = .8] {$\hat{1}$};
\fill[color=red!50!white, fill opacity=.5] (-1.5+5,.7) to[out=-30, in=180] (1+5,.4) -- (1.5+5,.9) to[out=180, in=-30] (-1+5,1.2) -- (-1.5+5,.7);
\draw (-1.5+5,-1.5)--(1.5+5,1.5);
\draw (-2+5,0)--(2+5,0);
\draw (0+5,-2)--(0+5,2);
\draw[dashed] (.5+5,-1.3)--(.5+5,.7);
\draw[dashed] (-1.5+5,-1.3)--(.5+5,-1.3);
\draw[dashed] (-1.5+5,-1.3)--(-1.5+5,.7);
\draw[dashed] (-1.5+5,.7)--(.5+5,.7);
\draw[dashed] (.5+5,-1.3)--(1+5,-.8);
\draw[dashed] (-1.5+5,-1.3)--(-1+5,-.8);
\draw[dashed] (.5+5,.7)--(1+5,1.2);
\draw[red,very thick] (-1.5+5,.7)--(-1+5,1.2);
\draw[dashed] (-1+5,-.8)--(1+5,-.8);
\draw[dashed] (-1+5,1.2)--(1+5,1.2);
\draw[dashed] (-1+5,-.8)--(-1+5,1.2);
\draw[dashed] (1+5,-.8)--(1+5,1.2);
\fill[color=black] (0+5,0) circle (.1);
\fill[color=black] (-1.5+5,-1.3) circle (.1);
\fill[color=red] (0+5,.7) circle (.07);
\draw (.3+5,-.3) node {$\sigma^{(2)}_i$};
\draw (-1.8+5,-1.3) node {$j$};
\draw (-1+5,-1.7) node {$k^{(2)}_{i-\hat{2},2}$};
\draw (1.8+5,1.6) node {$k^{(2)}_{i,2}$};
\draw (1.5+5,-.3) node {$k^{(2)}_{i,1}$};
\draw (-2+5,-.3) node {$k^{(2)}_{i-\hat{1},1}$};
\draw (.5+5,-1.7) node {$k^{(2)}_{i-\hat{0},0}$};
\draw (-.4+5,.25) node {$k^{(2)}_{i,0}$};
\draw (-.4+5,1.6) node {$k^{(1)}_{i,0}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
school book axes, all axes={unit length=7.5mm},
x axis={label=$x$},
visualize as smooth line/.list={log, lin, squared, exp},
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
squared={label in legend={text=$x^2$}},
exp= {label in legend={text=$e^x$}},
style sheet=vary dashing]
data group {function classes};
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usetikzlibrary{patterns.meta, decorations.markings}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis on top = true,
axis lines = center,
ticks = none,
enlargelimits,
xlabel = $x$,
ylabel = $y$
]
\addplot[
postaction={pattern={Lines[angle=45,distance={4pt/sqrt(2)}]}},
postaction = {decorate},
decoration = {
markings,
mark=at position 0.3 with {\arrow{stealth}},
mark=at position 0.6 with {\arrow{stealth}}
},
domain = 0:8,
samples = 100
]
{16-(x-4)^2}
\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{petri,positioning}
\begin{document}
\begin{tikzpicture}[place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}]
\node[place,tokens=7,label=above:$p_1$](p1){};
\node[place,structured tokens={3,2,9},label=below:$p_2\ge1$,right=of p1](p2){};
\end{tikzpicture}
\end{document}