AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[cmyk]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
graynode/.style={rectangle, draw=black, fill=gray!40!white, very thick, minimum size=0.08\columnwidth, scale=2.2, line width=3pt, },
whitenode/.style={rectangle, draw=black, fill=white, very thick, minimum size=0.08\columnwidth, scale=2.2, line width=3pt, },
]
\node[graynode] (close) at (1.2, 1) { close\strut };
\node[graynode] (open) at (4.2, 1) { open\strut };
\node[graynode] (move) at (9, 1) { move to location\strut };
\node[graynode] (pick) at (14.1, 1) { pick up\strut };
\node[graynode] (put) at (18.1, 1) { put down\strut };
\node[whitenode] (explore) at (4, 4.5) { explore\strut };
\node[whitenode] (find) at (9, 8) { find\strut };
\node[graynode] (sliceb) at (7.4, 11.5) { slice in view \strut };
\node[whitenode] (pandp) at (17, 11.5) { pick and place\strut };
\node[whitenode] (clear) at (4.5, 15) { clear countertops\strut };
\node[whitenode] (slice) at (12, 15) { slice\strut };
\draw[-latex, line width=4pt] (explore.south) -- (close.north);
\draw[-latex, line width=4pt] (explore.south) -- (open.north);
\draw[-latex, line width=4pt] (explore.south) -- (move.north);
\draw[-latex, line width=4pt] (find.south) -- (explore.north);
\draw[-latex, line width=4pt] (find.south) -- (move.north);
\draw[-latex, line width=4pt] (find.south) -- (pick.north);
\draw[-latex, line width=4pt] (find.south) -- (open.north);
\draw[-latex, line width=4pt] (pandp.south) -- (find.north);
\draw[-latex, line width=4pt] (pandp.south) -- (pick.north);
\draw[-latex, line width=4pt] (pandp.south) -- (put.north);
\draw[-latex, line width=4pt] (pandp.south) -- (move.north);
\draw[-latex, line width=4pt] (slice.south) -- (pick.north);
\draw[-latex, line width=4pt] (slice.south) -- (find.north);
\draw[-latex, line width=4pt] (slice.south) -- (move.north);
\draw[-latex, line width=4pt] (slice.south) -- (sliceb.north);
\draw[-latex, line width=4pt] (slice.south) -- (put.north);
\draw[-latex, line width=4pt] (clear.south) -- (pandp.north);
\draw[-latex, line width=4pt] (clear.south) -- (explore.north);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,unit vector ratio=]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,unit vector ratio=1 1 1]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,unit vector ratio=0.25 0.5]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title={Speed-up for $n=128^3$ and $c=C=1$.},legend entries={$n/(n/p+1)$,$n/(n/p+\log p)$,$n/(n/p+\log n)$,$n/(n/p+p)$},legend pos=outer north east,xlabel={Processors $p$},ylabel={Speed-up},scaled ticks=false]\newcommand{\n}{128*128*128}
\newcommand{\maxp}{128}
\addplot[mark=x,variable=p,domain=1:\maxp,samples=20,sharp plot]{\n/(\n/p+1)};
\addplot[mark=+,blue,variable=p,domain=1:\maxp,samples=20,sharp plot]{\n/(\n/p+ln(p))};
\addplot[mark=asterisk,green,variable=p,domain=1:\maxp,samples=20,sharp plot]{\n/(\n/p+ln(\n))};
\addplot[mark=o,red,variable=p,domain=1:\maxp,samples=20,sharp plot]{\n/(\n/p+p)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
statistics,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
boxplot prepared={
lower whisker=5,
lower quartile=7,
median=8.5,
upper quartile=9.5,
upper whisker=10,
},
] table [row sep=\\,y index=0] {
data\\ 1\\ 3\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[->]
\draw (0,0) -- (2,0.5) node[midway,sloped,above] {$x$};
\draw (2,-.5) -- (0,0) node[midway,sloped,below] {$y$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows.meta,positioning, shapes.misc}
\usetikzlibrary{overlay-beamer-styles,positioning,decorations.pathreplacing,calligraphy}
\usetikzlibrary{hobby,shapes.misc}
\usetikzlibrary{positioning}
\usetikzlibrary{bayesnet}
\usepackage{xcolor}
\newcommand{\argdot}{{\,\vcenter{\hbox{\tiny$\bullet$}
}\,}}\newcommand{\mc}{\mathcal}
\newcommand{\bb}{\mathbb}
\begin{document}
\begin{tikzpicture}[use Hobby shortcut]
\node (A) at (1, -1) {$P_{Y|X}(\argdot|x)$};
\node (B) at (7,-1) {$P_{Y|X}(\argdot|\phi x)$};
\node (C) at (4,1.2) {$P_0$};
\node (D) at (0,0.4) {$\mc P_{\bb G}$};
\node (D) at (2,-1.9) {${\color{purple}\{P_{Y|X}(\argdot|x)\}_{x \in \bb X}}$};
\draw[rotate=-90,scale=0.7] (0,0) .. +(3,0) .. +(3,10) .. +(3,10) .. +(-1,11) .. (0,0);
\draw[rotate=-90,scale=0.635,color = purple] (-0.1,0.75) .. +(3,0) .. +(3,10) .. +(3,10) .. +(-1,11) .. (-0.1,0.75);
\draw[-{Stealth[length=2mm]}] (C) to [bend right=30] node [midway,below]{$\quad g_x$} (A) ;
\draw[-{Stealth[length=2mm]}] (C) to [bend left=30] node [midway,below]{$g_{\phi x}\quad$} (B) ;
\draw[-{Stealth[length=2mm]}] (A) to [bend left=10] node [midway,below]{${c(\phi,x) = g_{\phi x}g_x^{-1}}$} (B) ;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\ctikzset{amplifiers/fill=cyan!20, component text=left}
\begin{circuitikz}[scale=0.8, transform shape]
\draw (0,0) node[above]{$v_i$} to[short, o-] ++(1,0)
node[op amp, noinv input up, anchor=+](OA){\texttt{OA1}}
(OA.-) -- ++(0,-1) coordinate(FB)
to[R=$R_1$] ++(0,-2) node[ground]{}
(FB) to[R=$R_2$, *-] (FB -| OA.out) -- (OA.out)
to [short, *-o] ++(1,0) node[above]{$v_o$}
;
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{
every axis/.append style={
extra description/.code={
\node at (0.5,0.5) {Center!};
},
},
}
\begin{tikzpicture}
\begin{axis}
\addplot {x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[longpot/.style={pR,resistors/scale=0.75,resistors/width=1.6,resistors/zigs=6}]
\draw(0,1.5)to[R,l=$R$]++(4,0);
\draw(0,0)to[longpot,l=$P$]++(4,0);
\ctikzset{resistors/scale=1.5}\draw(0,-1.5)to[R,l=$R$]++(4,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[y=3cm/360]
\pgfplothandlerlineto
\pgfplotfunction{\y}{0,5,...,360}{\pgfpointxyz{sin(2*\y)}{\y}{cos(2*\y)}}
\pgfusepath{stroke}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-0.9,xscale=0.9]
\draw (316,10) -- (622,290) -- (316,290) -- cycle ;
\draw [color={rgb, 255:red, 65; green, 117; blue, 5 } ,draw opacity=1 ][line width=1.5] (316,175) .. controls (365,179) and (517,216) .. (622,290) ;
\draw [color={rgb, 255:red, 208; green, 2; blue, 27 } ,draw opacity=1 ] (301,176) .. controls (296.33,176.04) and (294.02,178.39) .. (294.06,183.06) -- (294.41,221.56) .. controls (294.47,228.23) and (292.17,231.58) .. (287.5,231.63) .. controls (292.17,231.58) and (294.53,234.89) .. (294.59,241.56)(294.57,238.56) -- (294.94,280.06) .. controls (294.99,284.73) and (297.34,287.04) .. (302.01,287) ;
\begin{scope}[shift={(12, 0)}]
\draw [color={rgb, 255:red, 74; green, 144; blue, 226 } ,draw opacity=1 ] (198,7) .. controls (193.33,7) and (191,9.33) .. (191,14) -- (191,64) .. controls (191,70.67) and (188.67,74) .. (184,74) .. controls (188.67,74) and (191,77.33) .. (191,84)(191,81) -- (191,159) .. controls (191,163.67) and (193.33,166) .. (198,166) ;
\end{scope}
\draw [dash pattern={on 4.5pt off 4.5pt}] (317,111) .. controls (392,114) and (556,235) .. (622,290) ;
\draw (426.75,78.73) node [anchor=north west][inner sep=0.75pt] [rotate=-45] [align=left] {future infinity};
\draw (8,51) node [anchor=north west][inner sep=0.75pt] [color={rgb, 255:red, 74; green, 144; blue, 226 } ,opacity=1 ] [align=left] {Phase II: non-accelerating\\$\displaystyle \ddot{a} \leq 0$ eternal expansion};
\draw (12,221) node [anchor=north west][inner sep=0.75pt] [color={rgb, 255:red, 208; green, 2; blue, 27 } ,opacity=1 ] [align=left] {Phase I: has epochs of $\displaystyle \ddot{a} \geq 0$ that \\collectively violate TCC. };
\draw (222,134.4) node [anchor=north west][inner sep=0.75pt] {$\Omega _{k} \ll 1$};
\draw (211,62) node [anchor=north west][inner sep=0.75pt] [align=left] {\begin{minipage}[lt]{61.3pt}\setlength\topsep{0pt}
$\displaystyle \Omega _{k}$: constant
\end{minipage}};
\draw (212,115) node [anchor=north west][inner sep=0.75pt] [align=left] {Phase II-A:};
\draw (386,207.4) node [anchor=north west][inner sep=0.75pt] [color={rgb, 255:red, 65; green, 117; blue, 5 } ,opacity=1 ] {$t=t_{*}$};
\draw (216,39) node [anchor=north west][inner sep=0.75pt] [align=left] {Phase II-B:};
\draw (327,141.4) node [anchor=north west][inner sep=0.75pt] {$\ddot{a} < 0$};
\draw (334,242.4) node [anchor=north west][inner sep=0.75pt] {$\ddot{a} >0$};
\draw (321,75.4) node [anchor=north west][inner sep=0.75pt] {$aH< \infty $};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\tikzstyle{level 1}=[level distance=1cm, sibling distance=1cm]
\tikzstyle{level 2}=[level distance=1cm, sibling distance=1cm]
\tikzstyle{level 3}=[level distance=1cm, sibling distance=1cm]
\node {$-{\boxdot}$} child{node{$-\land$} child{node{$-\alpha$}} child{node{$-\beta$}}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts,amsthm,amsmath,amssymb,mathrsfs}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,matrix}
\tikzset{blueedge/.style={blue,ultra thick}
,greenedge/.style={green!65!black,ultra thick,densely dotted},pinkedge/.style={magenta,ultra thick,dashed}}
\begin{document}
\begin{tikzpicture}
\draw[blueedge] (0,0)--(0,1);
\draw[pinkedge] (0,1)--(1,1);
\draw[greenedge] (1,0) to[out=135,in=180] (1,.5);
\draw[greenedge] (1,0) to[out=45,in=0] (1,.5);
\draw[fill=white] (0,0) circle (2pt);
\draw[fill=white] (1,0) circle (2pt);
\draw[fill=white] (1,1) circle (2pt);
\draw[fill=white] (0,1) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\foreach \x in {3,...,7} {
\draw (\x,0) ellipse [x radius=0.4, y radius=0.6];
\draw[->] (\x,0) -- (\x+0.4,0);
\draw[->] (\x,0) -- (\x,.6);
\draw[->,dashed] (\x,0) arc [start angle=0, end angle=30,radius=\x];
}
\begin{scope}[rotate=30]
\foreach \x in {3,...,7} {
\draw (\x,0) ellipse [x radius=0.4, y radius=0.6];
\draw[->] (\x,0) -- (\x+.4,0);
\draw[->] (\x,0) -- (\x,0.6);
}
\end{scope}
\node[align=center] at (8.2,2) {$y\mapsto R\cdot y+a$\\$R\in\mathrm{SO}(3),a\in\mathbb{R}^3$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart}
\begin{document}
\begin{tikzpicture}
\node [circle split, draw, double, fill=red!20]
{
$q_1$
\nodepart{lower}
$00$
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[xscale=0.09,yscale=0.09]
\node[opacity=0.5] at (-4,-4) {$0$};
\draw[->] (-5,0) -- (70,0) node[below] {};
\draw[->] (0,-5) -- (0,70) node[left] {};
\foreach \i in {1,2,...,6} {
\draw[opacity=0.5] (\i*10,68) -- (\i*10,-2) node[below] {$\i$};
}
\foreach \i in {1,2,...,6} {
\draw[opacity=0.5] (68,\i*10) -- (-2,\i*10) node[left] {$\i$};
}
\draw[line width = 0.3mm, blue] (60,0) -- (0,60);
\draw[line width = 0.3mm, blue] (40,0) -- (0,40);
\draw[line width = 0.3mm, blue] (40,0) -- (60,0);
\draw[line width = 0.3mm, blue] (0,40) -- (0,60);
\node[blue] at (25,25) {{\large$\Delta$}};
\draw[line width = 0.4mm, dotted, blue] (30,0) -- (0,30);
\draw[line width = 0.4mm, dotted, blue] (20,0) -- (0,20);
\draw[line width = 0.4mm, dotted, blue] (20,0) -- (30,0);
\draw[line width = 0.4mm, dotted, blue] (0,20) -- (0,30);
\node[blue] at (13,12) {{\footnotesize $\Delta/2$}};
\draw[red] (40,0) node {$\bullet$};
\draw[red] (50,0) node {$\bullet$};
\draw[red] (60,0) node {$\bullet$};
\draw[red] (30,10) node {$\bullet$};
\draw[red] (40,10) node {$\bullet$};
\draw[red] (50,10) node {$\bullet$};
\draw[red] (20,20) node {$\bullet$};
\draw[red] (30,20) node {$\bullet$};
\draw[red] (40,20) node {$\bullet$};
\draw[red] (10,30) node {$\bullet$};
\draw[red] (20,30) node {$\bullet$};
\draw[red] (30,30) node {$\bullet$};
\draw[red] (0,40) node {$\bullet$};
\draw[red] (10,40) node {$\bullet$};
\draw[red] (20,40) node {$\bullet$};
\draw[red] (0,50) node {$\bullet$};
\draw[red] (10,50) node {$\bullet$};
\draw[red] (0,60) node {$\bullet$};
\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, i<^=$i_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={Grids with shader=faceted},
]
\addplot3 [
patch,
patch type=biquadratic,
shader=faceted,
patch refines=3,
] coordinates {
(0,0,1) (6,1,1.6) (5,5,1.3) (-1,5,0)
(3,1,0) (6,3,0.4) (2,6,1.1) (0,3,0.9)
(3,3.75,0.5)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[test node/.style={rectangle,draw,text height=1.5ex,text depth=0.25ex},node distance=1cm and 1cm]
\small\node(a)[test node]{First node};
\node(b)[test node,above right=of a,anchor=west]{Upper branch 1};
\node(c)[test node,below right=of a,anchor=west]{Lower branch 1};
\begin{scope}[red]
\foreach\pos/\n in{above right/x,right/y,below right/z}{\node(\n)[circle,draw,\pos=of a,anchor=west]{};
\foreach\a in{north,center,south}\draw[shift=(\n.\a)]plot[mark=x]coordinates{(0,0)};
}\foreach\n in{x,y,z}\draw(0,2-|\n.center)--++(0,-4);
\node[circle,draw,below=of a]at(3,0){};
\end{scope}\draw[green](a.east)--+(1,0);
\draw[blue](a.north east)--++(1,0)--+(0,1);
\draw[orange](a.south east)--++(1,0)--+(0,-1);
\end{tikzpicture}
\end{document}
\documentclass[border=3mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
bar width=1,
ymin=0,
xtick=data,
xtick pos=left,
nodes near coords,
xticklabels={A,B,C,D,E,F,G,H}
]
\addplot table[x expr=\coordindex, y index=0, row sep=\\] {5\\7\\9\\15\\8\\20\\16\\13\\};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor,tikz}
\begin{document}
\begin{tikzpicture}
\draw[ultra thick](0,0)--(.75,0)--(1.5,-.75)--(2.25,-.75)--(3,0)--(3.75,0);
\node at(-.2,-.1){\small$b$};
\node at(3.95,0){\small$b$};
\draw[ultra thick](.75,0)--(.75,.75);
\node[scale=.8]at(.75,1){\footnotesize\bf II};
\draw[ultra thick](3,0)--(3,.75);
\node[scale=.8]at(3,1){\footnotesize\bf I};
\draw[ultra thick](1.5,-.75)--(1.5,-1.5);
\node[scale=.8]at(1.5,-1.75){\footnotesize\bf I};
\draw[ultra thick](2.25,-.75)--(2.25,-1.5);
\node[scale=.8]at(2.25,-1.75){\footnotesize\bf II};
\node[rotate=-45]at(0,.6){\footnotesize$v_1^{(1)}+h_2^{(1)}$};
\node[rotate=90]at(1.9,.1){\footnotesize$v_2^{(1)}+h_2^{(1)}$};
\node at(.5,-.4){\footnotesize$-h_2^{(1)}$};
\node at(3,-.5){\footnotesize$h_1^{(1)}$};
\node at(.6,-1.2){\footnotesize$m_1^{(1)}+h_2^{(1)}$};
\node at(3.2,-1.2){\footnotesize$m_2^{(1)}+h_2^{(1)}$};
\draw[blue,fill=blue](3,0)circle(.1cm);
\node[scale=.7,blue]at(2.6,.1){\footnotesize\bf$(1,1)$};
\draw[orange,fill=yellow!90!green](1.5,-.75)circle(.1cm);
\node[scale=.7,orange]at(1.1,-.8){\footnotesize\bf$(2,1)$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions}
\begin{document}
\tikz\datavisualization[scientific axes,all axes={length=3cm,grid,grid={minor steps between steps}},every major grid/.style={style={blue,thin}},visualize as line]data[format=function]{var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[->, >=stealth', shorten >=1pt, semithick]
\foreach \i/\t in {0/directed, 6/undirected}{
\foreach \x/\y/\v in {0/2/a, 2/2/b, 0/0/c, 2/0/d}{
\pgfmathtruncatemacro\xx{\x+\i};
\node [draw, circle, minimum size=4mm] (\i-\v) at (\xx,\y) {};
\node at (\i-\v) {\(\v\)};
}
\pgfmathtruncatemacro\xt{\i+1};
\node at (\xt,-0.6) {\t};
}
\path (0-b) edge[loop right] (0-b);
\path[every loop/.style={-}] (6-b) edge[loop right] (6-b);
\foreach \src/\tgt in {a/c, d/b, d/a}{
\path (0-\src) edge (0-\tgt);
\path [shorten >= 0pt, -] (6-\src) edge (6-\tgt);
}
\path (0-c) edge[bend left=10] (0-d);
\path (0-d) edge[bend left=10] (0-c);
\path [shorten >= 0pt, -] (6-c) edge (6-d);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.8]
\filldraw[thick,draw=black,fill=white](-2/3,-2/5)--(1/3,-2/5)--(1/3,3/5)--(-2/3,3/5)--cycle;
\draw(-1.2,0)--(1.2,0)(0,-1.2)--(0,1.2);
\draw[thick](0,0)circle(1cm);
\draw[thick,gray](-2/3,3/5)--(-.7433,.6689);
\node[gray]at(-1,.7){\small$2\rho_{\min}$};
\node at(-.2,.2){\scriptsize$U_\alpha$};
\node at(.65,1){\scriptsize$C_1(0)$};
\draw[thick,gray](.5,.33)circle(.3cm);
\node[gray]at(.33,.73){\scriptsize$G_n$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs, quotes}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [edge label=x] { a -> b -> {c,d} };
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern,amsmath,tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions,arrows.meta}
\begin{document}
\begin{tikzpicture}
\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);
}};
\datavisualization [school book axes,x axis={label=$x$},visualize as smooth line/.list={log, lin, squared, exp},every data set label/.append style={text colored},log={pin in data={text'={$\log x$}, when=y is -1}},lin={pin in data={text={$x/2$}, when=x is 2,pin length=1ex}},squared={pin in data={text={$x^2$}, when=x is 1.1,pin angle=230}},exp={label in data={text={$e^x$}, when=x is -2}},style sheet=vary hue] data group {function classes};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$1$}] (v13) at (11,0.5) {};
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$\lfloor\frac{n-1}{2}\rfloor$}] (v15) at (11,1.25) {};
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$\lfloor\frac{n-1}{2}\rfloor+2$}] (v19) at (11,2) {};
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$\lfloor\frac{n-1}{2}\rfloor+3$}] (v16) at (11,2.75) {};
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$n$}] (v18) at (11,3.5) {};
\draw (v15) -- (v16) -- cycle;
\node [circle, draw = black, fill = black, inner sep = 0.5mm, label=left:{$\lfloor\frac{n-1}{2}\rfloor+1$}] (v20) at (10.5,2) {};
\draw (v16) -- (v20);
\node at (11,3.25) {$\vdots$};
\node at (11,1) {$\vdots$};
\node at (11,-0.5) {$\mathcal{P}^*_{5,n}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar interval,
hist/symbolic coords={A,B,C,D,E,F,G,H,I,J},
xticklabel={[\tick--\nexttick[},
]
\addplot+ [
hist={bins=3},
] table [row sep=\\,y index=0] {
data\\
A\\ B\\ A\\ D\\ F\\ J\\
G\\ J\\ I\\ H\\ I\\ I\\
};
\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{*6(-(<:[::120](-[::-100,0.7])(-[::100,0.7]))--(=O)-(-)(<:[::120])--)}
\quad or \quad
\setchemfig{cram width=3pt}
\chemfig{<[:10](>[:85,1.8]?(-[:160,0.6])-[:20,0.6])
>[:-10]-[:60](=[:30,0.6]O)-[:170]?(-[:30,0.6])-[:190]-[:240]}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb,amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri}
\tikzset{nodde/.style={circle,draw=blue!50,fill=blue!20,inner sep=1.2pt}
}\tikzset{nodeblack/.style={circle,draw=black,fill=black!30,inner sep=1.2pt}
}
\begin{document}
\begin{tikzpicture}[scale=0.8,font=\tiny]
\node[nodeblack] at (-2cm,0cm) (u) [label=below:$u$] {};
\node[nodeblack] at (0cm,0cm) (v) [label=below:$v$] {};
\node[nodeblack] at (2cm,0cm) (w) [label=below:$w$] {};
\node[nodde] at (-1cm,1cm) (a1) [label=below:$x_1$] {} edge[] (u) edge[] (v);
\node[nodde] at (-1cm,2cm) (a2) [label=left:$x_2$] {} edge[] (u) edge[] (v);
\node[nodde] at (1cm,1cm) (b1) [label=below:$x_3$] {} edge[] (v) edge[] (w);
\node[nodde] at (1cm,2cm) (b2) [label=right:$x_4$] {} edge[] (v) edge[] (w);
\node[nodde] at (0cm,-2cm) (c) [label=right:$x_5$] {} edge[] (u) edge[] (w);
\begin{scope}[xshift=6cm]
\node[nodeblack] at (-2cm,0cm) (u) [label=below:$u$] {};
\node[nodeblack] at (0cm,0cm) (v) [label=below:$v$] {};
\node[nodeblack] at (2cm,0cm) (w) [label=below:$w$] {};
\node[nodde] at (-1cm,1cm) (a1) [label=below:$x_1$] {} edge[] (u) edge[] (v);
\node[nodde] at (-1cm,2cm) (a2) [label=right:$x_2$] {} edge[] (u) edge[] (v);
\node[nodde] at (-1cm,-2cm) (c) [label=right:$x_3$] {} edge[] (u) edge[] (v);
\end{scope}
\end{tikzpicture}
\end{document}