AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[enlargelimits=0.2]
\addplot [
scatter,mark=*,only marks,
point meta=\thisrow{color},
nodes near coords*={$(\pgfmathprintnumber[frac]\myvalue)$},
visualization depends on={\thisrow{myvalue} \as \myvalue},
] table {
x y color myvalue
0.5 0.2 1 0.25
0.2 0.1 2 1.5
0.7 0.6 3 0.75
0.35 0.4 4 0.125
0.65 0.1 5 2
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand{\Q}{{\mathrm{Q}
}}\newcommand{\QQ}{{\overline{\mathrm{Q}
}}{}}\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[x=.5em,y=.5em]
\begin{scope}\node[font=\small]at(0,10){$\Gamma_m^n$};
\node[shape=circle,scale=.5](T)at(0,6){};
\draw[fill=black](0,6)circle(.1em);
\node[shape=circle,scale=.5](B)at(0,0){};
\draw[fill=black](0,0)circle(.1em);
\node[font=\scriptsize]at(0,-1){$\lambda$};
\node[font=\scriptsize]at(0,7){$\mu$};
\path[-,line width=.5pt](B)edge node[font=\scriptsize,left=-.4ex]{\strut$\gamma_\lambda^\mu$}(T);
\end{scope}
\begin{scope}[shift={(8,0)}]
is emptyis empty\node[font=\small]at(0,10){$\Q_m^n$};
\node[shape=circle,scale=.5](T)at(0,6){};
\draw[fill=black](0,6)circle(.1em);
\node[shape=circle,scale=.5](B)at(0,0){};
\draw[fill=black](0,0)circle(.1em);
\path[->,line width=.5pt](B)edge[transform canvas={xshift=-.4ex}]node[font=\scriptsize,left=-.4ex]{\strut$x_\lambda^\mu$}(T);
\path[->,line width=.5pt](T)edge[transform canvas={xshift=.4ex}]node[font=\scriptsize,right=-.4ex]{\strut$y_\lambda^\mu$}(B);
\end{scope}
\begin{scope}[shift={(16,0)}]
\node[font=\small]at(0,10){$\QQ_m^n$};
\node[shape=circle,scale=.5](T)at(0,6){};
\draw[fill=black](0,6)circle(.1em);
\node[shape=circle,scale=.5](B)at(0,0){};
\draw[fill=black](0,0)circle(.1em);
\path[<-,line width=.5pt](B)edge[transform canvas={xshift=-.4ex}]node[font=\scriptsize,left=-.4ex]{\strut$\bar x_\lambda^\mu$}(T);
\path[<-,line width=.5pt](T)edge[transform canvas={xshift=.4ex}]node[font=\scriptsize,right=-.4ex]{\strut$\bar y_\lambda^\mu$}(B);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[american]
\draw (0,0) to [cvsource, name=S] ++(0,2);
\node [circ,red] at ($(S.e)!0.3333!(S.n)$) {};
\node [circ,blue] at ($(S.e)!0.6666!(S.n)$) {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[table]{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{arrows.meta}
\tikzset{>={Stealth[scale=1.2]}}
\begin{document}
\begin{tikzpicture}[scale=.65]
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{darkorange25512714}{RGB}{255,127,14}
\definecolor{lightgray204}{RGB}{204,204,204}
\definecolor{steelblue31119180}{RGB}{31,119,180}
\begin{axis}[
legend cell align={left},
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=lightgray204},
align=center,
tick align=outside,
tick pos=left,
title={\texttt{consensus} (N=2,K=16) \\\texttt{"fin\_and\_all\_1"}},
x grid style={darkgray176},
xlabel={Stage},
xmin=-0.15, xmax=3.15,
xtick style={color=black},
xtick={0,1,2,3},
xticklabels={Start,Iter0,Iter1,Iter2},
y grid style={darkgray176},
ylabel={Count},
ymin=0, ymax=2589.15,
ytick style={color=black}
]
\addplot [semithick, steelblue31119180]
table {
0 1517
1 1137
2 1137
3 1137
};
\addlegendentry{States}
\addplot [semithick, darkorange25512714]
table {
0 2520
1 2140
2 2140
3 2140
};
\addlegendentry{Choices}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d, arrows}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[
->,
plane x={(0.707,-0.707)},
plane y={(0.707,0.707)},
canvas is plane,
]
\draw (0,0) -- (1,0);
\draw (0,0) -- (0,1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view/h=10]
\addplot3 [
surf,
shader=flat,
samples=50,
domain=-3:3,y domain=-2:2,
]
{sin(deg(x+y^2))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
>=stealth,
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}
}
\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] {};
\draw [->] (enter critical) -- (critical);
\draw [->] (waiting) .. controls +(left:8mm) and +(up:8mm)
.. (enter critical);
\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[V=1<\volt>] (0,2)
to[R=1<\ohm>, color=red] (2,2)
to[C=1<\farad>] (2,0) -- (0,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}

\begin{tikzpicture}

\begin{axis}[tiny,enlargelimits, axis equal, xmin=-1,xmax=1, ymin=-1,ymax=1, xtick={-1,0,1}, ytick={-1,0,1}, grid=major, ]

\draw [blue] (0,0) circle [radius=1];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=0.75]
\node(1) at (-0.7,0.7){$\bullet$};
\node(2) at (0.7,0.7){$\bullet$};
\node(3) at (0.7,-0.7){$\bullet$};
\node(4) at (-0.7,-0.7){$\bullet$};
\path[font=\scriptsize, >= angle 90] (1) edge [] node [] {} (2) (3) edge [] node [] {} (4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections,through}
\begin{document}
\begin{tikzpicture}
\coordinate[label=left:$A$](A)at(0,0);
\coordinate[label=right:$B$](B)at(1.25,0.25);
\draw[name path=A--B](A)--(B);
\node(D)[name path=D,draw,circle through=(B),label=left:$D$]at(A){};
\node(E)[name path=E,draw,circle through=(A),label=right:$E$]at(B){};
\path[name intersections={of=D and E,by={[label=above:$C$]C,[label=below:$C'$]C'}}];
\draw[name path=C--C',red](C)--(C');
\path[name intersections={of=A--B and C--C',by=F}];
\node[fill=red,inner sep=1pt,label=-45:$F$]at(F){};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
units
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[use units,
x unit=m,x unit prefix=k,
y unit=N,y unit prefix=m,
xlabel=Distance,ylabel=Force,
]
\addplot coordinates {
(1,2.3)
(2,2.7)
(3,2.1)
(4,1.8)
(5,1.5)
(6,1.1)
};
\end{axis}
\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,0)
to[short, dashed, red] ++(1,0)
to [R] ++(2,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}
\draw
(0,0) node[mixer] (mix) {}
(mix.1) node[left] {1}
(mix.2) node[below] {2}
(mix.3) node[right] {3}
(mix.4) node[above] {4};
\draw [ultra thick, red, opacity=0.5]
(-1,-1)--(1,1)
(-1,1)--(1,-1);
\node [red, below] at (0,-1) {DON'T USE};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
node[ocirc] (A) at (0,0) {}
node[ocirc] (B) at (2,1) {}
(A) to[open, v=$v$] (B);
\end{circuitikz}
\end{document}
\documentclass[tikz, border=2mm]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath, amssymb}
\begin{document}
\begin{tikzpicture}[baseline={(0, -0.1)}]
\draw (0.4, 0) circle (.2);
\draw (1.2, 0) circle (.2);
\draw (0.6, 0) -- (1.0, 0);
\node at (0, 0) {$\cdots$};
\node at (1.7, 0) {$\cdots$};
\node at (0.8, -0.2) {\small $s_m$};
\node at (1.2, -0.4) {\small $m$};
\draw[<-] (0.65, 0.15) -- (0.95, 0.15);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [clockwise, n=6] {
{ [path, ->] a, b, c },
{ [path, <-] d, e, f }
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{math}
\usetikzlibrary{decorations.markings, decorations.pathreplacing,shapes.misc}
\begin{document}
\begin{tikzpicture}[scale=0.65]
\draw[red, thick] (-1,0) -- ++(1,0);
\draw[red, thick, ->] (0,0) -- ++(1,0);
\draw[red, thick] (0,-1) -- ++(0,1);
\draw[red, thick, ->] (0,0) -- ++(0,1);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(1)}$};
\node[anchor=north, scale=0.75] at (0,-1) {$r^{(1)}$};
\node[anchor=west, scale=0.75] at (1,0) {$r^{(1)}$};
\node[anchor=south, scale=0.75] at (0,1) {$p^{(1)}$};
\begin{scope}[shift={(3.95,0)}]
\draw[blue, thick] (-1,0) -- ++(1,0);
\draw[blue, thick, ->] (0,0) -- ++(1,0);
\draw[blue, thick] (0,-1) -- ++(0,1);
\draw[blue, thick, ->] (0,0) -- ++(0,1);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(2)}$};
\node[anchor=north, scale=0.75] at (0,-1) {$r^{(2)}$};
\node[anchor=west, scale=0.75] at (1,0) {$r^{(2)}$};
\node[anchor=south, scale=0.75] at (0,1) {$p^{(2)}$};
\end{scope}\draw[dotted, thick] (6.25,-1.85) -- ++(0,3.7);
\begin{scope}[shift={(8.5,0)}]
\draw[thick] (0,-1) -- ++(0,1);
\draw[thick] (0,0) -- ++(0,1);
\draw[red, thick] (-1,0) -- ++(1,0);
\draw[red, thick, ->] (0,0) -- ++(1,0);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(1)}$};
\node[anchor=west, scale=0.75] at (1,0) {$p^{(1)}$};
\begin{scope}[shift={(3.95,0)}]
\draw[blue, thick] (-1,0) -- ++(1,0);
\draw[blue, thick, ->] (0,0) -- ++(1,0);
\draw[blue, thick] (0,-1) -- ++(0,1);
\draw[blue, thick, ->] (0,0) -- ++(0,1);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(2)}$};
\node[anchor=north, scale=0.75] at (0,-1) {$r^{(2)}$};
\node[anchor=west, scale=0.75] at (1,0) {$p^{(2)}$};
\node[anchor=south, scale=0.75] at (0,1) {$r^{(2)}$};
\end{scope}\draw[dotted, thick] (6.25,-1.85) -- ++(0,3.7);
\end{scope}
\begin{scope}[shift={(17,0)}]
\draw[red, thick] (-1,0) -- ++(1,0);
\draw[thick] (0,0) -- ++(1,0);
\draw[thick] (0,-1) -- ++(0,1);
\draw[red, thick, ->] (0,0) -- ++(0,1);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(1)}$};
\node[anchor=west, scale=0.75] at (1,0) {$p^{(1)}$};
\begin{scope}[shift={(3.95,0)}]
\draw[blue, thick] (-1,0) -- ++(1,0);
\draw[blue, thick, ->] (0,0) -- ++(1,0);
\draw[blue, thick] (0,-1) -- ++(0,1);
\draw[blue, thick, ->] (0,0) -- ++(0,1);
\node[anchor=east, scale=0.75] at (-1,0) {$p^{(2)}$};
\node[anchor=north, scale=0.75] at (0,-1) {$r^{(2)}$};
\node[anchor=west, scale=0.75] at (1,0) {$r^{(2)}$};
\node[anchor=south, scale=0.75] at (0,1) {$p^{(2)}$};
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale = 3.]
\draw[opacity = 1., black] (2., 1.) -- (1., 0.) -- (4., 0.) -- (5., 1.);
\fill[opacity = 0.1, black] (2., 1.) -- (1., 0.) -- (4., 0.) -- (5., 1.) -- cycle;
\draw (4., 0.) node[below] {F};
\draw[opacity = 1., blue] (1.5, 0.) -- (2.7, 1.);
\draw (2.7, 1.) node[above] {\color{blue} $\gamma_{\rho_0}$};
\draw[opacity = 1., blue] (1.7, 0.) -- (2., 0.25);
\draw[opacity = 1., blue, dashed] (2., 0.25) -- (2.6, 0.75);
\draw[opacity = 1., blue] (2.6, 0.75) -- (2.9, 1.);
\draw[opacity = 1., red, ->, very thick, dashed] (2.1, 0.5) -- (2.35, 0.5);
\draw (2.4, 0.5) node[right] {\color{red} $\Xi_0^\perp$};
\draw[opacity = 1., black, dotted] (1.8, 0.25) -- (2.8, 0.25) -- (3.4, 0.75) -- (2.4, 0.75);
\draw[opacity = 1., violet] (1.8, 0.25) -- (2.4, 0.75);
\draw[opacity = 1., violet] (2.8, 0.45) -- (3.4, 0.95);
\draw[opacity = 1., violet, dashed] (2.8, 0.05) -- (3.4, 0.55);
\draw[opacity = 1., violet] (1.8, 0.25) -- (2.8, 0.45) -- (2.8, 0.25);
\draw[opacity = 1., violet, dashed] (1.8, 0.25) -- (2.8, 0.05) -- (2.8, 0.25);
\draw[opacity = 1., violet] (2.4, 0.75) -- (3.4, 0.95) -- (3.4, 0.75);
\draw[opacity = 1., violet, dashed] (2.4, 0.75) -- (3.4, 0.55) -- (3.4, 0.75);
\fill[opacity = 0.2, violet] (1.8, 0.25) -- (2.4, 0.75) -- (3.4, 0.95) -- (3.4, 0.75) -- (2.8, 0.25) -- cycle;
\fill[opacity = 0.1, violet] (1.8, 0.25) -- (2.8, 0.25) -- (3.4, 0.75) -- (3.4, 0.55) -- (2.8, 0.05) -- cycle;
\draw (3.4, 0.9) node[right] {\color{violet} polyhedron where $a = 1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard,
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [clockwise, n=6, phase=60] {
{ [cycle, ->] a, b, c },
{ [cycle, <-] d, e, f }
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[patch,shader=interp,
table/row sep=\\,
patch table with individual point meta={
0 1 2 100 100 100 \\
1 2 3 10 0 50 \\
4 3 5 0 0 100 \\
}] table[row sep=\\] {
x y \\
0 0 \\
1 1 \\
2 0 \\
3 1 \\
2 0 \\
4 0 \\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[baseline={([yshift=-.5ex]current bounding box.center)},nodes={scale=.7}]
\coordinate(G1)at(0,0);\coordinate(G2)at(-2/3,0);\coordinate(G3)at(2/3,0);\coordinate(G4)at(0,1);
\draw(G1)--(G2)(G2)--(G3)(G3)--(G4)(G4)--(G1)(G2)--(G4);
\coordinate[below left=1/3 of G2](H1);\coordinate[below right=1/3 of G3](H2);\coordinate[above=1/3 of G4](H3);
\draw[line width=.75mm](G2)--(H1);\draw(G3)--(H2)(G4)--(H3);
\node[below left=0]at(H1){$p_1$};\node[below right=0]at(H2){$p_2$};\node[above=0]at(H3){$p_3$};
\node[below=0]at(-1/6,0){$1$};\node[left=0]at(.1,.55){$5$};\node[above left=0]at(-1/4,.6){$2$};\node[below=0]at(1/6,0){$3$};\node[above right=0]at(1/4,.6){$4$};
\draw[dashed,red,line width=.5mm](-1/3,-.2)--(-1/3,.2)(29/60,.6)--(11/60,.4)(-29/60,.6)--(-11/60,.4)(-.25,1/3)--(.25,1/3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\usetikzlibrary{calc,arrows,automata,fit}
\usetikzlibrary{positioning,shapes,shadows}
\usetikzlibrary{decorations.pathmorphing,snakes}
\begin{document}
\begin{tikzpicture}
\node[shape=rectangle ,draw=none,font=\large] (A) at (0,0) [] {PlaceBet(1,2)};
\node[shape=rectangle ,draw=none,font=\large] (B) at (2.5,0) [] {SettleBet()};
\node[shape=rectangle ,draw=none,font=\large] (C) at (5,0) [] {PlaceBet(2,3)};
\begin{scope}[ every edge/.style={draw=black,very thick}]
\path [->] (A) edge [bend left] node [above,font=\large] {} (B);
\path [->] (B) edge[bend left] node [above,font=\large] {} (A);
\path [->] (C) edge [bend right] node [above,font=\large] {} (B);
\path [->] (B) edge[bend right] node [above,font=\large] {} (C);
\end{scope}
\end{tikzpicture}
\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,
all axes={length=3cm},
visualize as line
]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{ternary}
\begin{document}
\begin{tikzpicture}
\begin{ternaryaxis}[
title=Cartesian Annotations,
clip=false,
]
\addplot3 coordinates {
(0.1,0.5,0.4)
(0.2,0.5,0.3)
(0.3,0.6,0.1)
};
\node [fill=white,draw]
at (cartesian cs:0,0) {$y (0,0)$};
\node [fill=white,draw]
at (cartesian cs:1,0) {$z (1,0)$};
\node [fill=white,draw]
at (cartesian cs:0.5,{sqrt(3)/2})
{$x (\frac12,\frac{\sqrt3}{2})$};
\draw [red,-stealth]
(cartesian cs:0.5,0)
-- (cartesian cs:0.5,0.7);
\end{ternaryaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,bbm,mathdots,rotating}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=0.8, wnode/.style={circle, fill=white, inner sep=1pt, draw, very thick}, rnode/.style={circle, fill=white, inner sep=1pt, draw=red, thick}]
\node (v2) at (120:3) [rnode] {1,2};
\node (v3) at (336:3) [rnode] {1,3};
\node (v4) at (168:3) [rnode] {1,4};
\node (v5) at (240:3) [rnode] {1,5};
\node (v6) at (24:3) [rnode] {1,6};
\node (w3) at (48:3) [wnode] {2,3};
\node (w4) at (0:3) [wnode] {2,4};
\node (w5) at (192:3) [wnode] {2,5};
\node (w6) at (312:3) [wnode] {2,6};
\node (u4) at (216:3) [wnode] {3,4};
\node (u5) at (288:3) [wnode] {3,5};
\node (u6) at (96:3) [wnode] {3,6};
\node (x5) at (72:3) [wnode] {4,5};
\node (x6) at (264:3) [wnode] {4,6};
\node (y6) at (144:3) [wnode] {5,6};
\draw (v2)--(u4) (v2)--(u5) (v2)--(u6) (v2)--(x5) (v2)--(x6) (v2)--(y6);
\draw (v3)--(w4) (v3)--(w5) (v3)--(w6) (v3)--(x5) (v3)--(x6) (v3)--(y6);
\draw (v4)--(w3) (v4)--(u5) (v4)--(u6) (v4)--(w5) (v4)--(w6) (v4)--(y6);
\draw (v5)--(w3) (v5)--(u4) (v5)--(u6) (v5)--(w4) (v5)--(w6) (v5)--(x6);
\draw (v6)--(w3) (v6)--(w5) (v6)--(x5) (v6)--(w4) (v6)--(u4) (v6)--(u5);
\draw (w3)--(x5) (w3)--(x6) (w3)--(y6);
\draw (w4)--(u5) (w4)--(u6) (w4)--(y6);
\draw (w5)--(u6) (w5)--(x6) (w5)--(u4);
\draw (w6)--(x5) (w6)--(u5) (w6)--(u4);
\draw (y6)--(u4);
\draw (u5)--(x6);
\draw (u6)--(x5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title={CO2 Sensor data},xlabel={Timestamp},ylabel={CO2 in ppm},xmin=0,xmax=206,ymin=0,ymax=5500,xtick={0,50,100,150,200},ytick={0,1000,2000,3000,4000,5000},ymajorgrids=true,grid style=dashed]\addplot[blue,mark=none]coordinates{(0,1782)(1,1778)(2,1751)(3,1753)(4,1737)(5,1737)(6,1752)(7,1697)(8,1736)(9,1715)(10,1723)(11,1792)(12,1962)(13,2057)(14,2175)(15,2250)(16,2355)(17,2415)(18,2560)(19,2603)(20,2704)(21,2734)(22,2835)(23,2883)(24,2977)(25,3085)(26,3185)(27,3253)(28,3321)(29,3393)(30,3441)(31,3502)(32,3572)(33,3651)(34,3275)(35,3267)(36,3284)(37,3345)(38,3434)(39,3486)(40,3568)(41,3606)(42,3688)(43,3792)(44,3831)(45,3902)(46,3923)(47,3996)(48,4031)(49,4075)(50,4153)(51,4171)(52,4245)(53,4325)(54,4366)(55,4366)(56,4401)(57,4406)(58,4447)(59,4464)(60,4469)(61,4511)(62,4566)(63,4630)(64,4649)(65,4649)(66,4727)(67,4745)(68,4838)(69,4815)(70,4877)(71,4914)(72,4936)(73,4936)(74,5000)(75,5000)(76,5000)(77,5000)(78,5000)(79,5000)(80,5000)(81,5000)(82,5000)(83,5000)(84,5000)(85,4979)(86,4918)(87,5000)(88,5000)(89,5000)(90,5000)(91,5000)(92,5000)(93,5000)(94,5000)(95,5000)(96,5000)(97,5000)(98,5000)(99,5000)(100,5000)(101,5000)(102,5000)(103,5000)(104,5000)(105,5000)(106,5000)(107,5000)(108,5000)(109,5000)(110,5000)(111,5000)(112,5000)(113,5000)(114,5000)(115,5000)(116,5000)(117,5000)(118,5000)(119,5000)(120,5000)(121,5000)(122,5000)(123,5000)(124,5000)(125,5000)(126,5000)(127,5000)(128,5000)(129,5000)(130,5000)(131,5000)(132,5000)(133,5000)(134,5000)(135,5000)(136,5000)(137,5000)(138,5000)(139,5000)(140,5000)(141,5000)(142,5000)(143,5000)(144,5000)(145,5000)(146,5000)(147,5000)(148,5000)(149,5000)(150,5000)(151,5000)(152,5000)(153,5000)(154,5000)(155,5000)(156,5000)(157,5000)(158,5000)(159,5000)(160,5000)(161,5000)(162,5000)(163,4250)(164,3647)(165,3256)(166,3034)(167,2885)(168,2687)(169,2629)(170,2600)(171,2653)(172,2657)(173,2637)(174,2707)(175,2773)(176,2870)(177,2918)(178,3017)(179,3068)(180,3087)(181,3203)(182,3238)(183,3288)(184,3348)(185,3383)(186,3104)(187,2819)(188,2646)(189,2586)(190,2625)(191,2757)(192,2862)(193,2888)(194,2969)(195,3039)(196,3051)(197,3140)(198,3175)(199,3211)(200,3175)(201,2933)(202,2729)(203,2597)(204,2541)(205,2492)(206,2393)};
\end{axis}
\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*5(-C-D*5(-X-Y-Z-\phantom{E})-E-F-)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\makeatletter
\tikzset{
help lines/.style={gray,very thin}
}
\makeatother
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
\pgftransformrotate{30}
\draw (0,0) -- (2,1) -- (1,0);
\pgftransformreset
\draw[red] (0,0) -- (2,1) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{mindmap,shapes.geometric}
\begin{document}
\begin{tikzpicture}[hexagon/.style={regular polygon,regular polygon sides=6},root concept/.append style={concept color=blue,minimum size=1.2cm,font=\sffamily\huge},level 1 concept/.append style={sibling angle=60,font=\sffamily\large,outer sep=-0.5em,concept/.append style={hexagon},level distance=14em},mindmap]
\node[concept]{Hello}[clockwise from=0]child[concept color=red]{node[concept]{A}}child[concept color=orange]{node[concept]{B}}child[concept color=green!60!black]{node[concept]{C}}child[concept color=brown]{node[concept]{D}}child[concept color=yellow]{node[concept]{E}}child[concept color=purple]{node[concept]{F}};
\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*5(-B=C-D-E=F-G=H-I)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}\begin{tikzpicture}[->,>=latex,thick, scale=0.6,com/.style={draw,text centered, text width=25mm,shape=rectangle, rounded corners=2pt,fill=gray!20,font=\footnotesize},act/.style={draw,text centered, shape=rectangle,text width=10mm,fill=yellow!40,font=\footnotesize}]\node[com] (c1) [text width=35mm] at (0,3) {\rm c1: fresh peas};\node[act] (a1) [text width=35mm] at (0,1.5) {\rm a1: put in freezer};\node[com] (c2) [text width=35mm] at (0,0) {\rm c2: frozen peas};\path (c1) edge node[above] {} (a1);\path (a1) edge node[above] {} (c2);\node[com] (c1r) [text width=35mm] at (7,3) {\rm c2: frozen peas};\node[act] (a1r) [text width=35mm] at (7,1.5) {\rm a2: take out of freezer};\node[com] (c2r) [text width=35mm] at (7,0) {\rm c3: thawed peas};\path (c1r) edge node[above] {} (a1r);\path (a1r) edge node[above] {} (c2r);\end{tikzpicture}\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
arrows,
automata,
positioning,
}
\tikzset{
help lines/.style={gray,very thin},
state/.style={draw,circle,minimum size=0.6cm},
initial text={},
>=stealth
}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
\draw[help lines] (0,0) grid (3,2);
\node[state,initial] (q_0) {$q_0$};
\node[state] (q_1) [above right=of q_0] {$q_1$};
\node[state] (q_2) [below right=of q_0] {$q_2$};
\node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\path[->] (q_0) edge node {0} (q_1)
edge node [swap] {1} (q_2)
(q_1) edge node {1} (q_3)
edge [loop above] node {0} ()
(q_2) edge node [swap] {0} (q_3)
edge [loop below] node {1} ();
\end{tikzpicture}
\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,
x axis={logarithmic},
y axis={logarithmic},
visualize as line]
data [format=function] {
var x : interval [0.01:100];
func y = \value x * \value x;
};
\end{document}