AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) to[short,-*] ++(1,0) coordinate(b)
to[R] ++(2,0) to [qpprobe, l=$i$, a=$v$, name=P]
++(0,-2.5) node[ground](GND){};
\draw (P.v-) -| ++(-0.5,-1) coordinate(a)
to [short, -*] (a-|GND);
\draw (P.v+) -| (b);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\tikzset{vertex/.style={fill,circle,inner sep=1.0pt}}
\newcommand{\lex}[2]{{#1}[{#2}]}
\begin{document}
\begin{tikzpicture}
\draw (1,1) grid (4,3);
\draw (1,1)--(3,3) (1,2)--(2,3) (2,1)--(4,3) (3,1)--(4,2) (1,3)--(3,1) (1,2)--(2,1) (2,3)--(4,1) (3,3)--(4,2);
\draw (1,1)--(2,3) (1,3)--(2,1) (2,1)--(3,3) (2,3)--(3,1) (3,1)--(4,3) (3,3)--(4,1);
\foreach \x in {1,2,3,4} {\foreach \y in {1,2,3 } {\node at (\x, \y) [vertex] {};};}
\node at (2.5,0.5) {$\lex{L_4}{L_3}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{colormaps}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap access=piecewise constant,
colormap={my sampled version of viridis}{
samples of colormap=(10 of viridis)
},
colorbar horizontal,
]
\addplot3 [
surf,
shader=interp,
] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usetikzlibrary{matrix}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{every x tick label/.append style={font=\tiny}}
\pgfplotsset{every y tick label/.append style={font=\tiny}}
\begin{axis}[
width=0.5\linewidth,
height=5cm,
ylabel={\scriptsize{Precision}},
xlabel near ticks,
ylabel near ticks,
xmin=1, xmax=10,
ymin=0, ymax=1.1,
xtick={0,1,2,3,4,5,6,7,8,9,10, 11},
xticklabels={0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0},
ytick={0.2,0.4,0.6,0.8,1},
legend pos=north west,
ymajorgrids=false,
xmajorgrids=false,
major grid style={line width=.1pt,draw=gray!50},
x axis line style={draw=black!60},
tick style={draw=black!60},
legend columns=4,
legend style={draw=none},
legend entries={\footnotesize{EX},\footnotesize{EX-init},\footnotesize{RHW},\footnotesize{RHW-init}},
legend to name={average_performance}
]
\addplot[
color=cyan,
mark=none,
dashed,
]
coordinates { (1.0,0.25)(2.0,0.32642857142857146)(3.0,0.3992857142857143)(4.0,0.4457142857142858)(5.0,0.527142857142857)(6.0,0.5928571428571429)(7.0,0.6685714285714285)(8.0,0.7321428571428571)(9.0,0.812142857142857)(10.0,0.9)};
\addplot[
color=red,
mark=none,
dashed,
]
coordinates { (1.0,0.1542857142857143)(2.0,0.17785714285714288)(3.0,0.24571428571428575)(4.0,0.2657142857142857)(5.0,0.3442857142857143)(6.0,0.3985714285714286)(7.0,0.5035714285714286)(8.0,0.6228571428571429)(9.0,0.7514285714285716)(10.0,0.8928571428571429)};
\addplot[
color=orange,
mark=none,
dashed,
]
coordinates { (1.0,0.2521428571428571)(2.0,0.31857142857142856)(3.0,0.4035714285714285)(4.0,0.4557142857142858)(5.0,0.5514285714285714)(6.0,0.6207142857142858)(7.0,0.6950000000000001)(8.0,0.7571428571428571)(9.0,0.8457142857142858)(10.0,0.9)};
\addplot[
color=black,
mark=none,
dashed,
]
coordinates { (1.0,0.22071428571428572)(2.0,0.26071428571428573)(3.0,0.34714285714285714)(4.0,0.4028571428571429)(5.0,0.49142857142857144)(6.0,0.5721428571428572)(7.0,0.6449999999999999)(8.0,0.7071428571428572)(9.0,0.8192857142857143)(10.0,0.8935714285714286)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
title=Rectangle from matrix input,
]
\addplot [
surf,
mesh/rows=2,
patch type=rectangle,
] coordinates {
(0,0) (1,0)
(0,1) (1,1)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=middle,
axis equal image,
enlargelimits,
ticks=none,
data cs=polar,
samples=100
]
\addplot [thick, smooth, domain=0:360] {1};
\addplot [thick, red, -latex, smooth, domain=0:405] {0.3+x/2000} node [pos=0.9, anchor=south west] {$405^\circ$};
\addplot [thick] coordinates {(0,0) (405,1)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand {\oo} {.44}
\begin{document}
\begin{tikzpicture}[scale =1.2]
\newcommand {\oo} {.44}
\draw[mark=*] plot coordinates{(1.5,1.5)};
\draw[fill=black] (1.2,-.7)--(1.2,-.1)--(1.4,-.1)--(1.4,-.7);
\draw[-] (1.4,-.7)--(1.4,-.1)--(1.6,-.1)--(1.6,-.7)--(1.4,-.7);
\draw[fill=black] (1.6,-.7)--(1.6,-.1)--(1.8,-.1)--(1.8,-.7);
\draw[-] (1.2,3.1)--(1.2,3.7)--(1.4,3.7)--(1.4,3.1)--(1.2,3.1);
\draw[fill=black] (1.4,3.1)--(1.4,3.7)--(1.6,3.7)--(1.6,3.1);
\draw[-] (1.6,3.1)--(1.6,3.7)--(1.8,3.7)--(1.8,3.1)--(1.6,3.1);
\draw[fill=black] (-.7,1.2)--(-.7,1.4)--(-.1,1.4)--(-.1,1.2);
\draw[-] (-.7,1.4)--(-.7,1.6)--(-.1,1.6)--(-.1,1.4)--(-.7,1.4);
\draw[fill=black] (-.7,1.6)--(-.7,1.8)--(-.1,1.8)--(-.1,1.6);
\draw[-] (3.7,1.2)--(3.7,1.4)--(3.1,1.4)--(3.1,1.2)--(3.7,1.2);
\draw[fill=black] (3.7,1.4)--(3.7,1.6)--(3.1,1.6)--(3.1,1.4)--(3.7,1.4);
\draw[-] (3.7,1.6)--(3.7,1.8)--(3.1,1.8)--(3.1,1.6)--(3.7,1.6);
\draw[-] (-.7+\oo,3.1-\oo)--(-.7+\oo,3.7-\oo)--(-.1+\oo,3.7-\oo)--(-.1+\oo,3.1-\oo)--(-.7+\oo,3.1-\oo);
\draw[fill=black] (-.7+\oo,3.1-\oo)--(-.4+\oo,3.4-\oo)--(-.1+\oo,3.1-\oo)--(-.7+\oo,3.1-\oo);
\draw[fill=black] (-.7+\oo,3.7-\oo)--(-.4+\oo,3.4-\oo)--(-.1+\oo,3.7-\oo)--(-.7+\oo,3.7-\oo);
\draw[-] (3.1-\oo,-.7+\oo)--(3.1-\oo,-.1+\oo)--(3.7-\oo,-.1+\oo)--(3.7-\oo,-.7+\oo)--(3.1-\oo,-.7+\oo);
\draw[fill=black] (3.1-\oo,-.7+\oo)--(3.4-\oo,-.4+\oo)--(3.1-\oo,-.1+\oo);
\draw[fill=black] (3.7-\oo,-.7+\oo)--(3.4-\oo,-.4+\oo)--(3.7-\oo,-.1+\oo);
\draw[-] (3.1-\oo,3.1-\oo)--(3.1-\oo,3.7-\oo)--(3.7-\oo,3.7-\oo)--(3.7-\oo,3.1-\oo)--(3.1-\oo,3.1-\oo);
\node at (3.4-\oo,3.4-\oo) [circle,minimum size=.3cm,fill,draw,thick] {};
\draw[fill=black] (-.7+\oo,-.7+\oo)--(-.1+\oo,-.7+\oo)--(-.1+\oo,-.1+\oo)--(-.7+\oo,-.1+\oo)--(-.7+\oo,-.7+\oo);
\node at (-.4+\oo,-.4+\oo) [circle,minimum size=.3cm,fill, color=white,draw,thick] {};
\draw [dotted] (.44,.44) -- (2.56,2.56 );
\draw [-] (2.56,.44 ) -- (.44,2.56 );
\draw [dashed] (1.5,0 ) -- (1.5,1.5 );
\draw [dashed] (1.5,1.5 ) -- (1.5,3 );
\draw [dashed] (3,1.5 ) -- (1.5,1.5 );
\draw [dashed] (0,1.5 ) -- (1.5,1.5 );
\end{tikzpicture}
\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]
\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{new/.style={color=orange,line width=.2pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\tikzset{line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=.75]
\tkzDefPoints{0/0/A,8/0/B,4/0/I}
\tkzDefSquare(A,B) \tkzGetPoints{C}{D}
\tkzInterLC(I,C)(I,B) \tkzGetPoints{E'}{E}
\tkzInterLC(I,D)(I,B) \tkzGetPoints{F'}{F}
\tkzDefPointsBy[projection=onto A--B](E,F){H,G}
\tkzDefPointsBy[symmetry = center H](I){J}
\tkzDefSquare(H,J) \tkzGetPoints{K}{L}
\tkzDrawSector(I,B)(A)
\tkzDrawPolySeg(H,E,F,G)
\tkzDrawPolySeg(J,K,L)
\tkzDrawPoints(E,G,H,F,J,K,L)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
patchplots
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [patch,table/row sep=\\,
patch table with point meta={
0 1 2 100\\
1 2 3 10\\
4 3 5 0\\
},
] table [row sep=\\] {
x y \\
0 0 \\% 0
1 1 \\% 1
2 0 \\% 2
3 1 \\% 3
2 0 \\% 4
4 0 \\% 5
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[>=latex,scale=0.6]
\draw[gray!70]
(-3,-2) rectangle (3,2);
\draw[gray!70,dashed]
(-3,0) -- (3,0)
(0,-2) -- (0,2);
\foreach \a in {-1,1}
{
\begin{scope}[scale=\a]
\draw
(1,0.8) -- (-1,-0.8)
(2.6,0.4) -- (3.4,-0.4)
(-0.4,1.6) -- (0.4,2.4)
(2,2.8) -- (4,1.2);
\draw[dashed]
(-0.4,-2.4) -- (1,-3.2) -- (2.6,-3.6) -- (4,-2.8) -- (2,-1.2);
\draw[red]
(1,0.8) -- (-0.4,1.6)
(2,-1.2) -- (3.4,-0.4)
(4,1.2) -- (2.6,0.4);
\draw[blue, thick]
(1,0.8) -- (2.6,0.4)
(0.4,2.4) -- (2,2.8)
(0.4,-1.6) -- (2,-1.2);
\fill[blue]
(2.6,0.4) circle (0.1)
(0.4,2.4) circle (0.1)
(0.4,-1.6) circle (0.1);
\end{scope}
}
\draw[blue, thick, <-]
(1,0.8) -- (2.6,0.4);
\node at (3.4,0.2) {$\frac{1}{2}$};
\node at (-3.55,-0.2) {$-\frac{1}{2}$};
\node at (-0.2,2.3) {$\frac{\tau}{2}$};
\node at (0.3,-2.3) {$-\frac{\tau}{2}$};
\node[blue] at (1.9,0.85) {$\sigma$};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (-1.3,0.5) {\tiny 1};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (-1.7,-1.5) {\tiny 4};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (1.3,-0.5) {\tiny 2};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (1.7,1.5) {\tiny 3};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (-1.7,2.5) {\tiny 5};
\node[inner sep=0.5, draw, fill=white, shape=circle] at (1.7,-2.5) {\tiny 6};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\draw[->] (0,0) -- (6,0) node[anchor=north] {$x$};
\draw[->] (0,0) -- (0,5) ;
\draw (0,4) node[anchor=east] {$t$};
\draw[dashed] (0,4) -- (6,4);
\draw (1.5,4) node[anchor=south] {$x_1$};
\draw (1.5,4) circle[radius=1.5pt];
\fill (1.5,4) circle[radius=1.5pt];
\draw[pattern=north west lines, pattern color=black] (0,2) to (1.5,4) to (0,3) to (0,2);
\draw (0,2) node[anchor=east] {$\tau_*(x_1,t)$};
\draw (0,2) circle[radius=1.5pt];
\draw (0,3) node[anchor=east] {$\tau^*(x_1,t)$};
\draw (0,3) circle[radius=1.5pt];
\draw (3,4) node[anchor=south] {$x_2$};
\draw (3,4) circle[radius=1.5pt];
\fill (3,4) circle[radius=1.5pt];
\draw[pattern=horizontal lines, pattern color=black] (0,2.5) to (3,4) to (1,0) to (0,0) to (0,2.5);
\draw (0,2.5) node[anchor=east] {$\tau^*(x_2,t)$};
\draw (1,0) node[anchor=north] {$y^*(x_2,t)$};
\draw (1,0) circle[radius=1.5pt];
\draw (0.6,2.8) circle[radius=1.5pt];
\fill (0.6,2.8) circle[radius=1.5pt];
\draw (0.6,2.8) node[anchor=north west] {$p$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{pgfpicture}
\pgfpathmoveto{\pgfpointorigin}
\pgfpathlineto{\pgfpoint{1cm}{1cm}}
\pgfpathlineto{\pgfpoint{1cm}{0cm}}
\pgfusepath{stroke}
\end{pgfpicture}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{perspective}
\begin{document}
\begin{tikzpicture}[
scale=0.7,
3d view,
perspective={
p = {(20,0,0)},
q = {(0,20,0)}}]
\filldraw[fill=brown] (tpp cs:x=0,y=0,z=0)
-- (tpp cs:x=0,y=4,z=0)
-- (tpp cs:x=0,y=4,z=2)
-- (tpp cs:x=0,y=2,z=4)
-- (tpp cs:x=0,y=0,z=2) -- cycle;
\filldraw[fill=red!70!black] (tpp cs:x=0,y=0,z=2)
-- (tpp cs:x=5,y=0,z=2)
-- (tpp cs:x=5,y=2,z=4)
-- (tpp cs:x=0,y=2,z=4) -- cycle;
\filldraw[fill=brown!80!white] (tpp cs:x=0,y=0,z=0)
-- (tpp cs:x=0,y=0,z=2)
-- (tpp cs:x=5,y=0,z=2)
-- (tpp cs:x=5,y=0,z=0) -- cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title={\texttt{tick scale binop=\textbackslash cdot}}]
\addplot [mark=none, blue, samples=250, domain=0:5] {exp(10*x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,mathrsfs}
\usepackage{tikz-cd}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\node (p1) at (0,0) [inner sep=2pt,circle,draw=red,fill=red] {};
\node (q1) at (3,2) [inner sep=2pt,circle,draw=red,fill=red] {};
\node (q2) at (6,-1) [inner sep=2pt,circle,draw=red,fill=red] {};
\node (p2) at (10,0) [inner sep=2pt,circle,draw=red,fill=red] {};
\node at (-0.4,-0.1) {$p_1$};
\node at (10.4,-0.1) {$p_2$};
\node at (3,2.4) {$q_1$};
\node at (6,-1.4) {$q_2$};
\node at (2.9,3.3) {$\gamma_0$};
\draw[cyan,thick,->] (q1) to (p1);
\node at (1.5,0.6) {$\ell_1$};
\draw[cyan,thick,->] (q2) to (q1);
\node at (4.5,0) {$\ell_2$};
\draw[cyan,thick,->] (p2) to (q2);
\node at (8,-0.8) {$\ell_3$};
\draw[blue,thick,->] (5,0) .. controls (4.5,2.5) and (4,3) .. (2.5,3) ;
\draw[blue,thick] (2.5,3) .. controls (1.5,3) and (0.2,0.5) .. (p1) ;
\draw[blue,thick] (p2) .. controls (9,2) and (8,4) .. (7,0);
\draw[blue,thick] (7,0) .. controls (6.5,-2.5) and (5.5,-2.5) .. (5,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[xcolor]{changebar}
\usepackage{pgf, tikz, pgfplots}
\pgfplotsset{compat=1.17}
\usetikzlibrary{calc, arrows, shapes, positioning, patterns, angles, quotes, intersections, through, backgrounds}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}
\draw (-0.5693860319981044,1.9834819014638239)-- (0,0);
\draw (2.8896135929029714,2.2006721639230697)-- (4,0);
\draw (0,0)-- (-0.015287989182225509,1.3000898902049949);
\draw (-0.015287989182225509,1.3000898902049949)-- (-0.5693860319981044,1.9834819014638239);
\draw (-0.5693860319981044,1.9834819014638239)-- (1.0360567397613818,4.954583800321347);
\draw (1.0360567397613818,4.954583800321347)-- (-0.015287989182225509,1.3000898902049949);
\draw (2.8896135929029714,2.2006721639230697)-- (3.647225049614162,4.812946100427443);
\draw (3.647225049614162,4.812946100427443)-- (4,0);
\draw [dashed] (2.8896135929029714,2.2006721639230697)-- (3.904456784270502,1.303506235532433);
\begin{scriptsize}
\coordinate [circle, fill=black, inner sep=0.7pt, label=270: {$\bar{p}$}] (A1) at (0,0);
\coordinate [circle, fill=black, inner sep=0.7pt, label=0: {$\bar{x}$}] (A2) at (-0.015287989182225509,1.3000898902049949);
\coordinate [circle, fill=black, inner sep=0.7pt, label=180: {$\bar{q}$}] (A3) at (-0.5693860319981044,1.9834819014638239);
\coordinate [circle, fill=black, inner sep=0.7pt, label=90: {$\bar{r}$}] (A4) at (1.0360567397613818,4.954583800321347);
\coordinate [circle, fill=black, inner sep=0.7pt, label=270: {$\tilde{p}$}] (A5) at (4,0);
\coordinate [circle, fill=black, inner sep=0.7pt, label=180: {$\tilde{q}$}] (A6) at (2.8896135929029714,2.2006721639230697);
\coordinate [circle, fill=black, inner sep=0.7pt, label=90: {$\tilde{r}$}] (A7) at (3.647225049614162,4.812946100427443);
\coordinate [circle, fill=black, inner sep=0.7pt, label=0: {$\tilde{x}$}] (A8) at (3.904456784270502,1.303506235532433);
\end{scriptsize}
\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]A*6(------)}\qquad\chemfig{[:-30]A*6(------)}\qquad\chemfig{[:60]A*6(------)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{amsmath}
\begin{document}
\pgfplotsset{domain=-1:1}
\begin{tikzpicture}
\begin{axis}[xlabel=A normal sized $x$ label]
\addplot [smooth,blue,mark=*] {x^2};
\end{axis}
\end{tikzpicture}
\hspace{0.15cm}
\begin{tikzpicture}
\begin{axis}[xlabel={$\displaystyle \sum_{i=0}^N n_i $ }]
\addplot [smooth,blue,mark=*] {x^2};
\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}
\renewcommand*\printatom[1]{\ensuremath{\mathsf{#1}}}
\chemfig{H_3C-C(=[:30]O)(-[:-30]OH)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[outer sep=auto]
\draw[line width=5pt]
(0,0) node[fill=yellow!80!black] (f) {filled}
(2,0) node[draw] (d) {drawn}
(1,-2) node[draw,scale=2] (s) {scaled};
\draw[->] (1,-1) -- (f);
\draw[->] (1,-1) -- (d);
\draw[->] (1,-1) -- (s);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tikzset{label style/.append style={below,color=teal,font=\scriptsize}
}
\begin{document}
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(0,0){C}\tkzDefPoint(4,0){A}\tkzDefPoint(0,3){B}\tkzDefSquare(B,A)\tkzGetPoints{E}{F}\tkzDefSquare(A,C)\tkzGetPoints{G}{H}\tkzDefSquare(C,B)\tkzGetPoints{I}{J}\tkzFillPolygon[color=orange!30](A,C,G,H)\tkzFillPolygon[color=teal!40](C,B,I,J)\tkzFillPolygon[color=purple!20](B,A,E,F)\tkzDrawPolygon[line width=1pt](A,B,C)\tkzDrawPolygon[line width=1pt](A,C,G,H)\tkzDrawPolygon[line width=1pt](C,B,I,J)\tkzDrawPolygon[line width=1pt](B,A,E,F)\tkzLabelSegment[above](C,A){$a$}\tkzLabelSegment[right](B,C){$b$}\tkzLabelSegment[below left](B,A){$c$}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\tikzstyle{every node}=[font=\small]
\tikzset{vertex/.style = {shape=circle,draw,inner sep=0 pt, minimum size=15 pt}}
\tikzset{edge/.style = {-> ,> = triangle 60}}
\node[vertex] (a) at (3,3) {$a$};
\node[vertex] (b) at (3,0) {$b$};
\node[vertex] (c1) at (0.5,-2) {$c_1$};
\node[vertex] (c2) at (5.5,-2) {$c_2$};
\node[vertex] (d) at (3,-5) {$d$};
\node[vertex] (e1) at (2.2,-2.5) {$e_1$};
\node[vertex] (e2) at (3.8,-2.5) {$e_2$};
\draw[edge] (a) to (b);
\tikzset{edge/.style = {-> ,> = open triangle 60 }}
\draw[edge] (d) to (c1);
\draw[edge] (d) to (c2);
\tikzset{edge/.style = {- ,> = latex'}}
\draw[edge] (b) to (c1);
\draw[edge] (a) to (c1);
\draw[edge] (b) to (c2);
\draw[edge] (a) to (c2);
\draw[edge] (e1) to (c1);
\draw[edge] (e2) to (c2);
\draw[edge] (d) to (e1);
\draw[edge] (d) to (e2);
\draw[edge] (a) to[bend right=90] (d);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[baseline=(a1.base),->,>=stealth',shorten >=1pt,auto,node distance=1.24cm, main node/.style={circle,draw, minimum size=1em}]
\node[main node] (a1) {\small $n_1$};
\node[main node] (a2) [below left of=a1] {\small $n_2$};
\node[main node] (a3) [below right of=a1] {\small $n_3$};
\node[main node, draw=none] (a4) [below right of=a2] {\phantom{\small $n_4$}};
\path (a1) edge [] node {} (a3) (a1) edge [] node {} (a2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{petri}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}
}
\begin{document}
\begin{tikzpicture}
\node[place,label=above:$p_3$] {}
[children are tokens,token distance=1.1ex]
child {node [token] {}}
child {node [token,red] {}}
child {node [token,blue] {}}
child {node [token] {}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{petri}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm}
}
\begin{document}
\begin{tikzpicture}
\node[place,label=above:$p_2$] {}
[children are tokens]
child {node [token] {1}}
child {node [token,fill=red] {2}}
child {node [token,fill=red] {2}}
child {node [token] {1}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amscd, amssymb}
\usepackage{graphpap, color}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
[scale=.5,auto=left,every node/.style={scale=0.8}]\tikzset{Bullet/.style={circle,draw,fill=black,scale=0.5}
}\node[Bullet] (n1) at (1,-1) {};
\node[Bullet] (n2) at (1,-2) {};
\draw[black] (n1) -- (1,0);
\draw[black] (n1) -- (n2);
\draw[black] (n1) node[right] {$ $};
\draw[black] (n1) node[left] {$(0)$};
\draw[black] (n2) node[right] {$ $};
\draw[black] (n2) node[left] {$(1)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathtools, amsthm, amsfonts, amssymb}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{arrows.meta}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\def\s{10}
\def\t{0.8}
\def\a{0.4}
\draw (3*\s,8*\t - 0.9) -- (2*\s-\a,8*\t - 0.9) -- (2*\s-\a,14*\t);
\draw (3*\s,14*\t) ++(1.1,0) node[overlay] {$\alpha(E_{p/q}^{\boxtimes 3})$};
\draw (3*\s,8*\t - 0.9) ++(0.7,0) node[overlay] {$p/q$};
\draw[thick] (2*\s,8*\t) -- (2.5*\s,8*\t);
\draw[thick] (2.5*\s,10*\t) -- (8/3*\s,10*\t);
\draw[thick] (8/3*\s,12*\t) -- (11/4*\s,12*\t);
\draw[thick] (11/4*\s,13*\t) -- (14/5*\s,13*\t);
\draw[thick] (14/5*\s,14*\t) -- (3*\s,14*\t);
\draw[thick, dotted] (2.5*\s,8*\t) -- (2.5*\s,10*\t);
\draw[thick, dotted] (2.666*\s,10*\t) -- (2.666*\s,12*\t);
\draw[thick, dotted] (2.75*\s,12*\t) -- (2.75*\s,13*\t);
\draw[thick, dotted] (2.8*\s,13*\t) -- (2.8*\s,14*\t);
\foreach \x/\y in {2/8, 2.5/10, 2.666/12, 2.75/13, 2.8/14}
\draw[thick, fill=black] (\x * \s,\y * \t) circle (1.5pt);
\foreach \x/\y in {2.5/8, 2.666/10, 2.75/12, 2.8/13, 3/14}
\draw[thick, fill=white] (\x * \s,\y * \t) circle (1.5pt);
\foreach \x/\label in {2/{$2$}, 2.5/{$\frac{5}{2}$}, 2.666/{$\frac{8}{3}$}, 2.75/{$\frac{11}{4}$}, 2.8/{$\frac{14}{5}$}, 3/{$3$}}
\draw (\x * \s,8*\t - 0.8) -- (\x * \s,8*\t - 1.0) node[below] {\label};
\foreach \y/\label in {8/{$8$}, 10/{$10$}, 12/{$12$}, 13/{$13$}, 14/{$14$}}
\draw (2*\s-\a-0.1,\y*\t) -- (2*\s-\a+0.1,\y*\t) ++(-0.7,0) node {\label};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{latexsym,amsfonts,amsmath,amsthm,amssymb, mathrsfs}
\usepackage{xcolor,bm, bbm}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}[clip=false,domain = 0:4, samples = 100, axis lines = left,width = 10cm,height = 6cm,ytick=\empty,xtick={1.76647}, xticklabels={\(\bar{x}\)}]\addplot[red, thick, domain=0:4] {1.5*exp(-0.3*x^3 + x)};
\addplot[blue, thick, domain=0:4] {exp(-0.4*x^2 + x )};
\legend{\(\frac{d \mu_{\alpha, \beta_1}}{dx}\), \( \frac{d \mu_{\alpha, \beta_2}}{dx}\)}
\end{axis}\draw[dashed] (2.103*1.76647,0) -- (2.103*1.76647,1.5*1.67917);
\end{tikzpicture}
\end{document}