AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpColors[background=white,text=black]\tkzSetUpPoint[size=2,color=black]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
,new/.style={color=orange,line width=.2pt},label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/B,3.6/0/C,2.8/4/A}\tkzDefTriangleCenter[gergonne](A,B,C)\tkzGetPoint{Ge}\tkzDefSpcTriangle[intouch](A,B,C){C_1,C_2,C_3}\tkzDrawLines[add=.25 and .25,teal](A,B A,C B,C)\tkzDrawSegments[new](A,C_1 B,C_2 C,C_3)\tkzDrawPoints(A,B,C,C_1,C_2,C_3)\tkzDrawPoints[red](Ge)\tkzLabelPoints(B,C,C_1,Ge)\tkzLabelPoints[above](A,C_2,C_3)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
[scale=.9,auto=center,every node/.style={circle,fill=blue!20}]
\node (a1) at (1,-1) {a};
\node (a3) at (0,1) {c};
\node (a4) at (-1,-1) {bd};
\node (a6) at (-1,1) {ef};
\draw (a1) -- (a3);
\draw (a1) -- (a4);
\draw (a3) -- (a4);
\draw[red] (a4)-- (a6);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
circuits.ee.IEC
}
\begin{document}
\tikz [circuit ee IEC] {
\node (R1) [resistor,point up,ohm=5] at (3,1) {};
\node (R2) [resistor,ohm=10k] at (0,0) {};
\draw (R2) -| (R1);
}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\fill[blue, shift={(0,0.25)}] (0,0) circle (3pt);
\fill[orange, shift={(-0.707,0)}] (0,0.25) circle (3pt);
\fill[orange, shift={(0.707,0)}] (0,0.25) circle (3pt);
\draw[blue, shift={(0,0)}, very thick] (-3pt,-3pt) -- (3pt,3pt) (-3pt,3pt) -- (3pt,-3pt);
\draw[orange, shift={(-0.707,0.707)}, very thick] (-3pt,-3pt) -- (3pt,3pt) (-3pt,3pt) -- (3pt,-3pt);
\draw[orange, shift={(0.707,0.707)}, very thick] (-3pt,-3pt) -- (3pt,3pt) (-3pt,3pt) -- (3pt,-3pt);
\draw[blue, shift={(0,1.414)}, very thick] (-3pt,-3pt) -- (3pt,3pt) (-3pt,3pt) -- (3pt,-3pt);
\draw [->, red] (-1,1.5) -- (-1,0.3);
\draw [->, red] (-1,-0.5) -- (-1,0.2);
\draw [gray, dashed] (-1.4,0.25) -- (1.4,0.25);
\draw [->, red] (0.4,1.5) -- (0.4,0.3);
\draw [->, red] (0.4,-0.5) -- (0.4,0.2);
\draw [->, black] (-1.5,0) -- (2,0);
\draw [->, black] (0,-0.5) -- (0,2);
\node[] at (-0.2,1.7) {$y$};
\node[] at (1.8,-0.2) {$x$};
\node[] at (-0.2,-0.2) {$O$};
\node[red] at (1.55,0.5) {$y=0.5$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{multipoles/rotary/thickness=0.5}\draw(0,1.6)node[rotary switch ->,color=blue]{};
\ctikzset{multipoles/rotary/shape=circ}\draw(0,0)node[rotary switch ->]{};
\ctikzset{bipoles/thickness=0.5}\draw(0,-1.6)node[rotary switch ->,color=red]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\tikzset{smallstring/.style={thick,scale=.75,every node/.style={transform shape}
}}\def\E{\left(}
\def\R{\right)}
\begin{document}
\begin{tikzpicture}[smallstring,baseline=30]
\node(top)at(1,5){$R\E I^C\E b\R\R$};
\node(botI)at(0,0){$I^D\E a\R$};
\node(botF)at(2,0){$\mathcal F_D\E\mathcal A\E a\to b\R\R$};
\node[draw,rectangle](i)at(2,.9){$i_{\mathcal A\E a\to b\R}^D$};
\node[draw,rectangle](iota)at(1,2){$\iota_{a,\mathcal F_A\E\mathcal A\E a\to b\R\R}^D$};
\node[draw,rectangle](p)at(1,3){$p_{a\mathcal F_A\E\mathcal A\E a\to b\R\R}^R$};
\node[draw,rectangle](epsilon)at(1,4){$R\E I^C\E\epsilon_{a\to b}^{\mathcal F_A}\R\R$};
\draw(botI)to[in=-90,out=90](iota.225);
\draw(botF)to[in=-90,out=90](i);
\draw(i)to[in=-90,out=90](iota.-45);
\draw(iota)to[in=-90,out=90](p);
\draw(p)to[in=-90,out=90](epsilon);
\draw(epsilon)to[in=-90,out=90](top);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.28]
\def\s{13}
\foreach \i in {1,...,\s} {\fill ({360/\s*\i}:3) circle (4pt);
}\foreach \i in {1,...,\s} {\draw ({360/\s*\i}:3) -- ({360/\s*(\i+1)}:3);
}\foreach \i in {1,3,7,9,10,13} {\draw ({360/\s*\i}:3) -- ({360/\s*(\i+9)}:3);
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \i in {1,2,3}
{
\draw[gray](0.1+1.2*\i,0) -- (4.6+1.2*\i,3);
\draw[variable=\x,domain=-1:1,blue,thick]
plot ({\x+1.5*\i+1},{(exp(-(2+2*(\i-1))*\x*\x)+\i-1)});
\draw[gray] (1.5*\i,\i-1) -- (2+1.5*\i,\i-1);
\draw[gray] (1+1.5*\i,\i-1) -- (1+1.5*\i,\i);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6(-=-=-=)}\qquad
\chemfig{*6(-=_-=_-=_)}
\end{document}
\documentclass[tikz,margin=2mm]{standalone}
\usetikzlibrary{arrows.meta,positioning,quotes}
\begin{document}
\begin{tikzpicture}[node distance=22mm,every edge/.style={draw,-Straight Barb,bend left=15}]
\node(a){USA};
\node(b)[right=of a]{Canada};
\draw(a)edge["export"](b)(b)edge["import"](a);
\end{tikzpicture}
\begin{tikzpicture}[node distance=22mm,LA/.style={draw,-Straight Barb,transform canvas={yshift=#1}},every edge quotes/.append style={font=\small,inner sep=1pt}]
\node(a){USA};
\node(b)[right=of a]{Canada};
\draw(a)edge[LA=+2pt,"export"](b)(b)edge[LA=-2pt,"import"](a);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.7,level/.style={thick},virtual/.style={thick,densely dashed},trans/.style={thick,<->,shorten >=2pt,shorten <=2pt,>=stealth},classical/.style={thin,double,<->,shorten >=4pt,shorten <=4pt,>=stealth}]
\draw (-3cm,-3.5cm) node[circle,inner sep=1,fill,draw] (1) {};
\draw (-4cm,-4cm) node[circle,inner sep=1,fill,draw] (2) {};
\draw (-4cm,-5cm) node[circle,inner sep=1,fill,draw] (3) {};
\draw (-3cm,-5.5cm) node[circle,inner sep=1,fill,draw] (4) {};
\draw (-3cm,-6.2cm) node[circle,inner sep=1,fill,draw] (5) {};
\draw (-3cm,-6.7cm) node[inner sep=1.5pt,circle] (6) {${\mathcal L}$};
\draw (1)--(2);
\draw [line width=2pt] (1)--(4);
\draw (3)--(4);
\draw (4)--(5);
\draw [black,-] (2) to[out=0,in=0] (3);
\draw [black,-] (2) to[out=180,in=180] (3);
\draw (-4.6cm,-4.6cm) node[inner sep=1.5pt,circle] (7) {$e$};
\draw (-3.3cm,-4.5cm) node[inner sep=1.5pt,circle] (8) {$e^\prime$};
\draw (-4cm,-5.5cm) node[inner sep=1.5pt,circle] (9) {$\tiny{\overleftrightarrow{{sym}}}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\newcommand{\mf}{\mathbf}
\begin{document}
\begin{tikzpicture}
\draw[line width=0.4mm,->] (0,0) -- (0,6) node[anchor=south east] {$t$};
\draw[line width=0.4mm,Maroon] (3, 0) -- (0, 3);
\draw[line width=0.4mm,red] (0, 3) -- (1, 6);
\draw[line width=0.4mm,JungleGreen] (0, 3) -- (4.5, 5.5);
\draw[line width=0.4mm,ForestGreen] (0, 3) -- (4, 6);
\draw (1,1) node {$\mf{\bar u}$};
\draw (2,2) node {$\mf{u}^+$};
\draw (1.5,5) node {$\mf{\hat u}$};
\draw[line width=0.4mm,->] (7,0) -- (7,6) node[anchor=south east] {$t$};
\draw[line width=0.4mm,red] (8, 0) -- (7, 3);
\draw[line width=0.4mm,red] (7, 3) -- (8.3, 6);
\draw[line width=0.4mm,JungleGreen] (7, 3) -- (10.5, 5);
\draw[line width=0.4mm,ForestGreen] (7, 3) -- (10, 5.5);
\draw (7.3,0.5) node {$\mf{\bar u}$};
\draw (9,2) node {$\mf{u}^+$};
\draw (8.5,5) node {$\mf{\hat u}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,}
\begin{document}
\begin{tikzpicture}
\draw [fill=blue, draw=none] (0,0) circle (0.02cm) node (FieldCenter) {};
\draw [draw=orange, dotted] (0,0) circle (3.0cm) node () {};
\draw [draw=black, dashed] (0,0) circle (2.0cm) node () {};
\draw [draw=purple, thin] (0,0) circle (1.0cm) node () {};
\draw [blue,fill=blue] (0,0) circle (0.5mm);
\draw [o-,orange, thick] (140:5mm) node[right,black]{Label 3} arc (150:190:6);
\draw [{stealth}-,purple,thin] (145:10mm) node[right,black]{Label 2} arc (150:192:8);
\draw [{stealth}-] (95:36mm) node[right,black]{Label 1} arc (140:192:10);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\usepgfplotslibrary{fillbetween}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=-1, xmax=3, ymin=-1, ymax=3, axis lines=middle]\addplot[samples=100, domain=0:3, name path=A] {3/(2*x+1)};
\addplot[samples=50, domain=0:3,name path=B] {3*x-2};
\path[name path=xaxis] (\pgfkeysvalueof{/pgfplots/xmin}, 0) -- (\pgfkeysvalueof{/pgfplots/xmax},0);
\addplot[gray, pattern=north west lines] fill between[of=B and xaxis, soft clip={domain=0.66666:1}];
\addplot[gray, pattern=north west lines] fill between[of=A and xaxis, soft clip={domain=1:2}];
\addplot +[mark=none] coordinates {(2, -1) (2, 3)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=1.5ex,y=1.5ex]
\footnotesize\draw (-7,7)--(0,0);
\draw(27,7)--(34,0);
\draw(0,0)--(34,0);
\draw (17,7)--(27,7);
\draw[dotted] (10,0)--(17,7)--(17,0);
\draw[dashed, very thick, red] (14,0)--(17,7)--(20,0);
\draw[dashed, very thick, red] (24,0)--(27,7)--(30,0);
\draw[dotted] (32,0)--(27,7)--(22,0)--(17,7)--(12,0);
\draw[dotted] (27,7)--(27,0);
\foreach \a in {34,32,22,10,0,12,17,27}
\draw (\a,0)--(\a,-1);
\node[below] at (0,-1.5) {\tiny $0$};
\node[below] at (10,-1.5) {\tiny $1$};
\node[below] at (22,-1.5) {\tiny $1+\frac{1+\sqrt 2}{2}$};
\node[below] at (32,-1.5) {\tiny $2+\frac{1+\sqrt 2}{2}$};
\node[below] at (12,-1.5) {\tiny $\frac{1+\sqrt 2}{2}$};
\node[below] at (17,-1.5) {\tiny $1+\frac{\sqrt 2}{2}$};
\node[below] at (27,-1.5) {\tiny $2+\frac{\sqrt 2}{2}$};
\node[below] at (14,0) {\tiny $x$};
\node[below] at (20,0) {\tiny $y$};
\node[below] at (24,0) {\tiny $z$};
\node[below] at (30,0) {\tiny $t$};
\node[left] at (-7,7) {$E$};
\node[above] at (17,7) {$B$};
\node[right] at (34,0) {\tiny $D=2+\sqrt 2$};
\node[left] at (-.5,0) {$B'$};
\node[above] at (27,7) {$C$};
\foreach \a in{(17,7), (-7,7),(27,7)}
\draw[fill] \a circle [radius =.3];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
cycle multi list={
red,blue\nextlist
solid,{dotted,mark options={solid}}\nextlist
mark=*,mark=x,mark=o
},
samples=3,
legend entries={0,...,20},
legend pos=outer north east,
]
\addplot {x};
\addplot {x-1};
\addplot {x-2};
\addplot {x-3};
\addplot {x-4};
\addplot {x-5};
\addplot {x-6};
\addplot {x-7};
\addplot {x-8};
\addplot {x-9};
\addplot {x-10};
\addplot {x-11};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{fit}
\begin{document}
\begin{tikzpicture}[
level distance = 25pt,
sibling distance = 15pt,
edge from parent/.style= {draw, edge from parent path = {(\tikzparentnode) -- (\tikzchildnode)}}
]
\tikzset{
every tree node/.style = {align = center, circle, draw, fill = red!40},
leaf/.style = {fill = teal!40}
}
\Tree [.\node[](c){$c$};
[.\node[](l){$l$};
[.\node[leaf](l1){$l_1$}; ]
[.\node[leaf](l2){$l_2$}; ]
]
[.\node[](3r){$r$};
[.\node[](rl){$rl$};
[.\node[leaf](l3){$l_3$}; ]
[.\node[leaf](l4){$l_4$}; ]
]
[.\node[leaf](l5){$l_5$}; ]
]
]
\node () [draw, dashed, cyan, rounded corners, fit = (l) (l1) (l2)] {};
\node () [draw, dashed, cyan, rounded corners, fit = (3r) (rl) (l3) (l4) (l5)] {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}
,transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm},>=stealth}
\begin{document}
\begin{tikzpicture}
\node[place](waiting){};
\node[place](critical)[below=of waiting]{};
\node[place](semaphore)[below=of critical]{};
\node[transition](leave critical)[right=of critical]{};
\node[transition](enter critical)[left=of critical]{}edge[->](critical)edge[<-,bend left=45](waiting)edge[->,bend right=45](semaphore);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title=With background]
\addplot3 [mesh,domain=-2:2] {exp(-x^2-y^2)};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[title=Without background]
\addplot3 [surf,fill=white,domain=-2:2] {exp(-x^2-y^2)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsfonts,amssymb,mathtools,mathrsfs,dsfont,mathabx}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,automata,shadows,fit,shapes,calc,math,decorations.markings,decorations.pathreplacing}
\tikzset{mynode/.style={shape=rectangle,rounded corners,draw,align=center,top color=white,bottom color=white}
}\tikzset{->-/.style={decoration={markings,mark=at position #1 with {\arrow{>}
}},postaction={decorate}}}
\begin{document}
\begin{tikzpicture}[scale=1.]
\draw (-1,1)--(7,1);
\draw (-1,0)--(7,0);
\foreach \x in {-1,...,7}
\node at (\x,1) {$\vert$};
\foreach \x in {-1,...,7}
\node at (\x,0) {$\vert$};
\node at (0,1+0.5) {$j-n$};
\node at (6,1+0.5) {$j+n$};
\node at (3,0-0.5) {$j$};
\draw[->-=.5] (0,1)--(3,0);
\draw[->-=.5] (6,1)--(3,0);
\foreach \x in {-1,...,7}
\node at (\x,1) {\color{red}{\small\textbullet}};
\foreach \x in {-1,...,7}
\node at (\x,0) {\color{red}{\small\textbullet}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [->, ultra thick](0,6)--(0,-6) node[right]{$x$};
\draw [->,ultra thick](6,0)--(-6,0) node[above]{$y$};
\draw (6,-2)--(-6,6);
\draw (6,6)--(-6,-2);
\fill[green!20!white] (3,0)-- ++(4mm,0mm) arc[start angle=0, end angle=143.130102, radius=4mm]--cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6((-H_2N)=N-*6(-\chembelow{N}{H}-=N?)=?-(=O)-HN-[,,2])}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[fd op amp] (opamp) {}
(opamp.+) node[left] {$v_+$}
(opamp.-) node[left] {$v_-$}
(opamp.out +) node[right] {out +}
(opamp.out -) node[right] {out -}
(opamp.down) node[ground] {};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}\tkzSetUpColors[background=white,text=black]\tkzSetUpPoint[size=2,color=teal]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmax=5,ymax=3]\tkzGrid[sub,orange]\tkzDrawX \tkzDrawY\tkzDefPoint(1,0){A}\tkzDefPoint(4,2){B}\tkzGetPointCoord(A){a}\tkzGetPointCoord(B){b}\tkzDefPoint(\ax,\ay){C}\tkzDefPoint(\bx,\by){D}\tkzDrawPoints[color=red](C,D)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{matrix,shapes,arrows,positioning,chains}
\tikzset{decision/.style={diamond,draw,text width=4em,text badly centered,inner sep=0pt}
,block/.style={rectangle,draw,text width=10em,text centered,rounded corners},cloud/.style={draw,ellipse,minimum height=2em},descr/.style={fill=white,inner sep=2.5pt},connector/.style={-latex,font=\scriptsize},rectangle connector/.style={connector,to path={(\tikztostart) -- ++(#1,0pt) \tikztonodes |- (\tikztotarget) },pos=0.5},rectangle connector/.default=-2cm,straight connector/.style={connector,to path=--(\tikztotarget) \tikztonodes}}
\begin{document}
\tikzset{decision/.style={diamond,draw,text width=4em,text badly centered,inner sep=0pt}
,block/.style={rectangle,draw,text width=10em,text centered,rounded corners},cloud/.style={draw,ellipse,minimum height=2em},descr/.style={fill=white,inner sep=2.5pt},connector/.style={-latex,font=\scriptsize},rectangle connector/.style={connector,to path={(\tikztostart) -- ++(#1,0pt) \tikztonodes |- (\tikztotarget) },pos=0.5},rectangle connector/.default=-2cm,straight connector/.style={connector,to path=--(\tikztotarget) \tikztonodes}}
\begin{tikzpicture}
\matrix (m)[matrix of nodes, column sep=2cm,row sep=8mm, align=center, nodes={rectangle,draw, anchor=center} ]{ |[block]| {Start} & \\ |[block]| {Assume that $a=c$ the optimilalty cretierin given by } & \\ |[decision]| {Locally optimal} & \\ |[block]| {Assume that $a=d$ the optimilalty cretierin given by} & \\ |[decision]| {Locally optimal} & |[block]| {Stop} \\ |[block]| {Assume that $a=e$ the optimilalty cretierin given by} & |[decision]| {Locally optimal} \\ |[decision]| {Locally optimal} & |[block]| {Assume that $a=k$ the optimilalty cretierin given by} \\ |[block]| {Assume that $a=f$ the optimilalty cretierin given by} & |[decision]| {Locally optimal} \\ };
\path [>=latex,->] (m-1-1) edge (m-2-1);
\path [>=latex,->] (m-2-1) edge (m-3-1);
\path [>=latex,->] (m-3-1) edge (m-4-1);
\path [>=latex,->] (m-4-1) edge (m-5-1);
\path [>=latex,->] (m-5-1) edge (m-6-1);
\path [>=latex,->] (m-6-1) edge (m-7-1);
\path [>=latex,->] (m-7-1) edge (m-8-1);
\path [>=latex,->] (m-8-1) edge (m-8-2);
\path [>=latex,->] (m-8-2) edge (m-7-2);
\path [>=latex,->] (m-7-2) edge (m-6-2);
\path [>=latex,->] (m-6-2) edge (m-5-2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:30]--[:-30]--[:-30]--[:-30]OH}
\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) node[op amp] (opamp) {}
(opamp.+) node[left] {$v_+$}
(opamp.-) node[left] {$v_-$}
(opamp.out) node[right] {$v_o$}
(opamp.down) node[ground] {}
(opamp.up) ++ (0,.5) node[above] {\SI{12}{\volt}}
-- (opamp.up);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
x axis={length=2.5cm, ticks={major at={
5,
6 as [style=red],
7 as [{style=blue, low=-1em}],
8 as [style=green] $2^3$,
10 as ten
}}},
visualize as line]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz\datavisualization[scientific axes,x axis={ticks={major={at={1,10,100,1000}}},scaling=1 at 0cm and 1000 at 3cm,function=\pgfdvmathln{\pgfvalue}{\pgfvalue}},visualize as scatter]data[format=named]{x={1,100,...,1000},y={1,2,3}};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0, 0) circle (5cm);
\draw[red] (0, 0) circle (4cm);
\draw (0, 0) circle (3cm);
\draw [->] (0, 0) edge (-4, 3);
\draw [->] (0, 0) edge (0, 4);
\draw [->] (0, 0) edge (2.4, 1.8);
\draw node at (2, 1) {$\rho$};
\draw node at (0.5, 3.5) {$\rho\theta$};
\draw node at (-3.5, 3) {$\rho\theta^2$};
\draw node at (0, -0.2) {c};
\draw node at (1, -0.8) {*};
\draw node at (2.94, 0.585) {*};
\draw node at (-0.6, 0.15) {*};
\draw node at (-2.94, -0.585) {*};
\draw node at (3.89, 3.95) {*};
\draw node at (4.7, -2.75) {*};
\draw node at (-4.69, 1.8) {*};
\draw node at (-4.3, 3.43) {*};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amsfonts,amscd,amssymb,mathrsfs,cite}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage[utf8]{inputenc}
\usetikzlibrary{patterns}
\tikzset{dottednode/.style={dash pattern=on 1.5pt off 4pt, line width=1.9pt}
, dashednode/.style={dash pattern=on 6pt off 5pt}}\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xlabel={number of iterations}, ylabel={Hamming distance /\# of contexts}, xmin=0, xmax=130, ymin=0, ymax=0.8, xtick={0,20,...,130}, ytick={0,0.1,...,1}, legend pos=north east, ymajorgrids=true, grid style=dashed, width=0.7\textwidth, ]\addplot[color=blue, mark=square, y filter/.expression={y/315}, ] coordinates {(0,193) (1,141) (4,118) (5,90) (25,84) (50,63) (1000,63)};
\legend{$3$ qubits}\addplot[color=red, mark=o, y filter/.expression={y/5355}, ] coordinates {(0,3024) (1,2800) (2,2304) (4,1928) (21,1871) (31,1638) (33,1575) (1000,1575)};
\addlegendentry{$4$ qubits}\addplot[color=green, mark=triangle, y filter/.expression={y/86955}, ] coordinates {(0,48032) (1,47449) (2,39532) (5,35636) (21,32944) (29,32650) (55,31479) (1000,31479)};
\addlegendentry{$5$ qubits}\addplot[color=orange, mark=x, y filter/.expression={y/1396395}, ] coordinates {(0,738219) (2,656892) (3,652791) (4,619539) (25,616998) (30,589224) (50,569892) (57,568824) (120,560384) (122,553140) (1000,553140)};
\addlegendentry{$6$ qubits}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level distance=2cm, growth parent anchor=north, every node/.style={anchor=north,rectangle}, every child node/.style={anchor=south}]
\node at (0,0) {root} child {node {small}};
\node at (2,0) {big root} child {node {\large big}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
shader=interp,
] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,yhmath,hyperref}
\usepackage{amssymb}
\usepackage[latin9]{inputenc}
\usepackage{tikz-cd}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usetikzlibrary[patterns]
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.4cm,y=0.4cm]
\clip(0,0) rectangle (10,10);
\draw [line width=1pt] (0,0)-- ++(8,2)-- ++(2,8)-- ++(-8,-2)-- ++(-2,-8);
\draw [line width=1.5pt] (1.25,5)-- ++(1.75,0)-- ++(2,2)-- ++(4.25,0);
\draw [line width=1.5pt] (0.75,3)-- ++(5.25,0)-- ++(2,2)-- ++(0.75,0);
\draw [line width=1.5pt] (3,0.75)-- ++(0,4.25);
\draw [line width=1.5pt] (6,1.5)-- ++(0,1.5);
\draw [line width=1.5pt] (5,7)-- ++(0,1.75);
\draw [line width=1.5pt] (8,5)-- ++(0,4.5);
\end{tikzpicture}
\end{document}